"500 error" when adding a Language Tag(Multilingual Plugin) to a user's post

I have both the Multilingual and Discourse Translator plugins installed. I tried to go to someone’s post, click edit, and add a language tag(as when someone sets their user language preferences, no posts show(unless explicitly tagged with the respective language)).

Upon saving the edit, it shows “500 error” Here is the respective console error:

ajax.js:188 
 PUT https://biohacking.forum/t/does-anybody-here-use-peptides/953 500 (Internal Server Error)

ajax-error.js:35 SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
    at D.parse [as parseJSON] (<anonymous>)
    at l (ajax-error.js:31:20)
    at u (ajax-error.js:74:10)
    at ajax-error.js:83:11
    at push.57313.D.t.error (ajax.js:163:7)
deprecated.js:62 [PLUGIN discourse-multilingual] Deprecation notice: Importing getOwner from `discourse/lib/get-owner` is deprecated. See the alternatives on meta. [deprecated since Discourse 3.2] [deprecation id: discourse.get-owner-with-fallback] [info: https://meta.discourse.org/t/292080]

Has anyone else encountered this error? Thanks!

Thanks for the report. I’m currently working on reproduce and fix that issue.

2 Likes

Thank you for looking into it, I would love to re-install the plugin once this is fixed!

Here is my website link: https://biohacking.forum

Yes :woman_raising_hand:.

I got the same error when I edited the spelling mistake in the title of Ai icon for title and tag helper is positioned above the similar topic modal. It showed the error, but after reloading, the title was changed.
I get the same error when I edit the title of Disable ai title generator when pm title cannot be edited, but I don’t get it when I edit the title of Ai icon for category helper is positioned above the + menu.

Maybe the error occurs when you edit the title/tags of topics that aren’t published via ActivityPub but are tagged with a federated tag.

2 Likes