# Ой, ошибка 500 — NoMethodError (неопределённый метод \`groups\` для nil:NilClass)

**URL:** <https://meta.discourse.org/t/oops-500-error-nomethoderror-undefined-method-groups-for-nil-nilclass/265062>\
**Category:** Bug\
**Tags:** translator\
**Created:** [15.Май.2023 13:39:17 UTC](https://meta.discourse.org/t/oops-500-error-nomethoderror-undefined-method-groups-for-nil-nilclass/265062 "2023-05-15T13:39:17Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Luke\_Cousins](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/luke_cousins/32/223644_2.png) [@Luke\_Cousins](https://meta.discourse.org/u/Luke_Cousins)\
**Post date:** [15.Май.2023 13:39:17 UTC](https://meta.discourse.org/t/oops-500-error-nomethoderror-undefined-method-groups-for-nil-nilclass/265062/1 "2023-05-15T13:39:17Z")

</div>

Несколько пользователей сообщили, что у них возникает эта ошибка на нашем сообществе — [community.breww.com](http://community.breww.com), однако для нашей команды всё работает без проблем.

 ![discourse-error](https://global.discourse-cdn.com/meta/original/4X/0/b/5/0b55fce5ce669fb68ddc015cde129672f9883f74.jpeg)

В логах ошибок я увидел следующее (не уверен, связано ли это с проблемой):

 ![Screenshot 2023-05-15 at 14.11.30](https://global.discourse-cdn.com/meta/original/4X/2/0/7/207309ec0edbef42e2ed887ec13c60549be147bb.png)

Мы полностью обновлены и установлены следующие плагины. Полагаю, эти проблемы начались после установки обновлений несколько дней назад и сохраняются даже после установки последних обновлений только что.

 ![Screenshot 2023-05-15 at 14.38.16](https://global.discourse-cdn.com/meta/original/4X/a/c/1/ac19e726debd554a32081d0cfd27ed309d374af8.png)

Не уверен, но, возможно, это связано с [FEATURE: added restrict\_translation\_groups to limit posts translation… · discourse/discourse-translator@ae894fa · GitHub](https://github.com/discourse/discourse-translator/commit/ae894fa81508ebc1ba21f8218cea493b748d4959)?

Пожалуйста, помогите. Также, если это связано с обновлением этого плагина, есть ли возможность откатить версию плагина?

---

_[View the full topic](https://meta.discourse.org/t/oops-500-error-nomethoderror-undefined-method-groups-for-nil-nilclass/265062)._
