שגיאת 500 - NoMethodError (שיטה לא מוגדרת `groups' עבור nil:NilClass)

סיכום מבוסס בינה מלאכותית

The community at community.breww.com experienced a 500 error due to a NoMethodError. Luke_Cousins reported that users were encountering this error, but staff members were not. After reviewing the error logs and disabling the discourse-translator plugin, no further errors occurred, suggesting that the plugin was the cause. JammyDodger confirmed that the issue would be investigated, and Juan_David_Martínez provided a fix in a GitHub pull request. Luke_Cousins has installed the fix and will report back with any further issues.

We’ve had a number of users report that they’re getting this error on our community - community.breww.com - but it’s working fine for all of our team.

In the error logs, I’ve seen this (I’m not sure if it’s related to the problem or not)

We’re fully up to date with the following plugins installed. I believe these problems started after last installing updates a few days ago and are still there after installing the latest updates just now.

I’m not sure but maybe this could be related to FEATURE: added restrict_translation_groups to limit posts translation… · discourse/discourse-translator@ae894fa · GitHub?

Can you please help? Also, if this is related to that plugin update, is there a way to rollback a plugin version?

4 לייקים

According to the error logs this is happening lots (although I still cannot reproduce) so any assistance would be much appreciated. I’ve tried disabling the plugin (with the translator enabled setting) and so hopefully this will resolve the issue. I’ll let you know…

לייק 1

No errors since disabling the plugin, so I suspect it’s the cause.

4 לייקים

I think you’re likely right. :+1: We’ll look into that now and see if we can get that fixed up. :crossed_fingers:

5 לייקים

Thank you, much appreciated :pray:

לייק 1

This should be fixed by FIX: Fix for anon users visiting posts when the plugin is enabled by jdmartinez1062 · Pull Request #106 · discourse/discourse-translator · GitHub. Let us know if you have more issues, always glad to help.

6 לייקים

Thanks for such a quick fix. I’ve installed the fix now, so will report back soon :+1:

3 לייקים

This topic was automatically closed after 15 hours. New replies are no longer allowed.