Rebuilding without retort in my list of plugins, “fixes” the issue. Thanks for the help. I didn’t consider that one plugin failing could make any other plugin to fail as well. I’ll try to remember this in the future to check before reporting an issue.
I’ll mark this as the solution, while waiting for a new version of retort so that I can enable it again.
Looks like issues with the latest discourse have already been reported: