Scratch that. I didn’t read the backtrace properly
Can you try disabling the discourse-links-category plugin?
discourse-links-category