Der Benutzer kann seine persönliche Nachricht nicht sehen

Hallo an alle Forenteilnehmer und das Discourse-Team!
Auf meiner Website ist ein nicht spezifizierter Fehler aufgetreten. Ein Benutzer oder Mitarbeiter der Website (außer dem Administrator) kann seine persönlichen Nachrichten nicht sehen. Der Titel einer privaten Nachricht erscheint in der allgemeinen Nachrichtenliste, aber ein Klick auf den Link öffnet nicht den vollständigen Inhalt. Ich habe versucht, alle Plugins und Theme-Komponenten zu deaktivieren, sogar versucht, alles CSS zu entfernen, aber nichts hat geholfen. So wird es geschrieben:

Dies wird angezeigt, wenn der Benutzer versucht, die Browserseite zu aktualisieren:

Hier ist der Konsolenbildschirm:

Es gibt möglicherweise weitere Details, wenn Sie Ihre /logs-Seite überprüfen. Könnten Sie dort nachsehen und die Informationen hier in einem Codeblock einfügen?

2 „Gefällt mir“

Haben Sie die Plugins über die Einstellungen deaktiviert oder sie aus der YAML-Datei entfernt und neu erstellt? Wenn Sie sie nicht entfernt und neu erstellt haben, sollten Sie das tun.

1 „Gefällt mir“

Sorry for the long response :pray: That’s all there was:

Deprecation notice: Array types for custom fields are deprecated, use type :json instead (removal in Discourse 3.3.0) At /var/www/discourse/lib/plugin/instance.rb:561:in `block in register_topic_cust

24 Nov 9:33 pm

Deprecation notice: Array types for custom fields are deprecated, use type :json instead (removal in Discourse 3.3.0) At /var/www/discourse/lib/plugin/instance.rb:576:in `block in register_user_custo

24 Nov 9:33 pm

Deprecation notice: Array types for custom fields are deprecated, use type :json instead (removal in Discourse 3.3.0) At /var/www/discourse/lib/plugin/instance.rb:566:in `block in register_post_custo

24 Nov 9:33 pm

Deprecation notice: add_to_serializer's respect_plugin_enabled argument should be passed as a keyword argument At /var/www/discourse/plugins/discourse-category-lockdown/plugin.rb:21:in `block in acti

24 Nov 9:33 pm

Deprecation notice: add_to_serializer should not be used to directly override include_*? methods. Use the include_condition keyword argument instead At /var/www/discourse/plugins/discourse-custom-wiz

24 Nov 9:33 pm

Deprecation notice: add_to_serializer should not be used to directly override include_*? methods. Use the include_condition keyword argument instead At /var/www/discourse/plugins/discourse-custom-wiz

24 Nov 9:33 pm

Deprecation notice: add_to_serializer's respect_plugin_enabled argument should be passed as a keyword argument At /var/www/discourse/plugins/discourse-ratings/plugin.rb:202:in `block in activate!`

24 Nov 9:33 pm

Deprecation notice: add_to_serializer should not be used to directly override include_*? methods. Use the include_condition keyword argument instead At /var/www/discourse/plugins/discourse-ratings/pl

24 Nov 9:33 pm

Deprecation notice: add_to_serializer should not be used to directly override include_*? methods. Use the include_condition keyword argument instead At /var/www/discourse/plugins/discourse-ratings/pl

24 Nov 9:33 pm

Deprecation notice: Array types for custom fields are deprecated, use type :json instead (removal in Discourse 3.3.0) At /var/www/discourse/lib/plugin/instance.rb:556:in `block in register_category_c

24 Nov 9:33 pm

Deprecation notice: The :post_notification_alert event is deprecated. Please use :push_notification instead (deprecated since Discourse 3.2.0.beta1) (removal in Discourse 3.3.0.beta1) At /var/www/dis

24 Nov 9:33 pm

4

ActiveRecord::StatementInvalid (PG::UndefinedColumn: ERROR: column "thread_id" does not exist LINE 1: ..._drafts"."chat_channel_id", "chat_drafts"."data", "thread_id...

24 Nov 10:45 pm

4

Failed to handle exception in exception app middleware : ActiveRecord::StatementInvalid : PG::UndefinedColumn: ERROR: column "thread_id" does not exist LINE 1: ..._drafts"."chat_channel_id", "chat_dr

24 Nov 10:45 pm

17

Clearing Active Record cache, this can happen if schema changed while site is running or in a multisite various databases are running different schemas. Consider running rake multisite:migrate.

24 Nov 10:45 pm

11

ActiveRecord::StatementInvalid (PG::UndefinedColumn: ERROR: column "thread_id" does not exist LINE 1: ..._drafts"."chat_channel_id", "chat_drafts"."data", "thread_id...

24 Nov 10:45 pm

11

Failed to handle exception in exception app middleware : ActiveRecord::StatementInvalid : PG::UndefinedColumn: ERROR: column "thread_id" does not exist LINE 1: ..._drafts"."chat_channel_id", "chat_dr

24 Nov 10:45 pm

3

[Telegram Bridge] Failed to bridge message: [1/12] [policy] 'require_plugin_enabled' ✅ [2/12] [contract] 'default' ✅ [3/12] [model] 'channel_id' ❌ [4/12] [policy] 'require_channel_id_vaild' [5/12] [p

25 Nov 12:49 am

[Telegram Bridge] Failed to bridge message: [1/12] [policy] 'require_plugin_enabled' ✅ [2/12] [contract] 'default' ✅ [3/12] [model] 'channel_id' ❌ [4/12] [policy] 'require_channel_id_vaild' [5/12] [p

25 Nov 12:49 am

24

Can not rebake post# 612 after 3 attempts, giving up : ActiveRecord::RecordNotFound : Couldn't find Topic with 'id'=137 [WHERE "topics"."deleted_at" IS NULL]

25 Nov 1:24 am

24

Job exception: Couldn't find Topic with 'id'=137 [WHERE "topics"."deleted_at" IS NULL]

25 Nov 1:24 am

4

Deprecation notice: add_to_serializer's respect_plugin_enabled argument should be passed as a keyword argument At /var/www/discourse/plugins/discourse-ai-topic-summary/plugin.rb:32:in `block in activ

25 Nov 8:45 pm

5

Deprecation notice: Array types for custom fields are deprecated, use type :json instead (removal in Discourse 3.3.0) At /var/www/discourse/lib/plugin/instance.rb:561:in `block in register_topic_cust

25 Nov 8:45 pm

5

Deprecation notice: Array types for custom fields are deprecated, use type :json instead (removal in Discourse 3.3.0) At /var/www/discourse/lib/plugin/instance.rb:576:in `block in register_user_custo

25 Nov 8:45 pm

5

Deprecation notice: Array types for custom fields are deprecated, use type :json instead (removal in Discourse 3.3.0) At /var/www/discourse/lib/plugin/instance.rb:566:in `block in register_post_custo

25 Nov 8:45 pm

4

Deprecation notice: add_to_serializer's respect_plugin_enabled argument should be passed as a keyword argument At /var/www/discourse/plugins/discourse-category-lockdown/plugin.rb:21:in `block in acti

25 Nov 8:45 pm

4

Deprecation notice: add_to_serializer should not be used to directly override include_*? methods. Use the include_condition keyword argument instead At /var/www/discourse/plugins/discourse-custom-wiz

25 Nov 8:45 pm

4

Deprecation notice: add_to_serializer should not be used to directly override include_*? methods. Use the include_condition keyword argument instead At /var/www/discourse/plugins/discourse-custom-wiz

25 Nov 8:45 pm

4

Deprecation notice: add_to_serializer's respect_plugin_enabled argument should be passed as a keyword argument At /var/www/discourse/plugins/discourse-ratings/plugin.rb:202:in `block in activate!`

25 Nov 8:45 pm

4

Deprecation notice: add_to_serializer should not be used to directly override include_*? methods. Use the include_condition keyword argument instead At /var/www/discourse/plugins/discourse-ratings/pl

25 Nov 8:45 pm

4

Deprecation notice: add_to_serializer should not be used to directly override include_*? methods. Use the include_condition keyword argument instead At /var/www/discourse/plugins/discourse-ratings/pl

25 Nov 8:45 pm

5

Deprecation notice: Array types for custom fields are deprecated, use type :json instead (removal in Discourse 3.3.0) At /var/www/discourse/lib/plugin/instance.rb:556:in `block in register_category_c

25 Nov 8:45 pm

4

Deprecation notice: The :post_notification_alert event is deprecated. Please use :push_notification instead (deprecated since Discourse 3.2.0.beta1) (removal in Discourse 3.3.0.beta1) At /var/www/dis

25 Nov 8:45 pm

298

Sidekiq is consuming too much memory (using: 679.16M) for 'neurogid.com', restarting

25 Nov 11:27 pm

Deprecation notice: the :meta_data param is deprecated, use the :topic_custom_fields param instead (deprecated since Discourse 3.2) (removal in Discourse 3.3) At <internal:kernel>:90:in `tap`

25 Nov 11:37 pm

8

MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-City.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-City.mmdb

25 Nov 11:44 pm

8

MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-ASN.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-ASN.mmdb

25 Nov 11:44 pm

16

MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-City.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-City.mmdb

25 Nov 11:45 pm

16

MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-ASN.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-ASN.mmdb

25 Nov 11:45 pm

2

[Telegram Bridge] Failed to bridge message: [1/12] [policy] 'require_plugin_enabled' ✅ [2/12] [contract] 'default' ✅ [3/12] [model] 'channel_id' ❌ [4/12] [policy] 'require_channel_id_vaild' [5/12] [p

Su 9:20 am

3

[Telegram Bridge] Failed to bridge message: [1/12] [policy] 'require_plugin_enabled' ✅ [2/12] [contract] 'default' ✅ [3/12] [model] 'channel_id' ❌ [4/12] [policy] 'require_channel_id_vaild' [5/12] [p

Su 3:30 pm

17

Job exception: undefined method `include?' for nil:NilClass

12:24 am

20

OpenAIBot Post Embedding: There was a problem, but will retry til limit: undefined method `destroy!' for nil:NilClass

10:25 am

3

[Telegram Bridge] Failed to bridge message: [1/12] [policy] 'require_plugin_enabled' ✅ [2/12] [contract] 'default' ✅ [3/12] [model] 'channel_id' ❌ [4/12] [policy] 'require_channel_id_vaild' [5/12] [p

11:11 am

[Telegram Bridge] Failed to bridge message: [1/12] [policy] 'require_plugin_enabled' ✅ [2/12] [contract] 'default' ✅ [3/12] [model] 'channel_id' ❌ [4/12] [policy] 'require_channel_id_vaild' [5/12] [p

11:38 am

27

NoMethodError (undefined method `enable_personal_messages?' for SiteSetting:Class) app/serializers/topic_view_details_serializer.rb:127:in `include_can_invite_to?' (eval):11:in `_fast_attributes' lib/

2:20 pm

6

NoMethodError (undefined method `enable_personal_messages?' for SiteSetting:Class) app/serializers/topic_view_details_serializer.rb:127:in `include_can_invite_to?' (eval):11:in `_fast_attributes' lib/

2:20 pm

[Telegram Bridge] Failed to bridge message: [1/12] [policy] 'require_plugin_enabled' ✅ [2/12] [contract] 'default' ✅ [3/12] [model] 'channel_id' ❌ [4/12] [policy] 'require_channel_id_vaild' [5/12] [p

4:22 pm

2

[Telegram Bridge] Failed to bridge message: [1/12] [policy] 'require_plugin_enabled' ✅ [2/12] [contract] 'default' ✅ [3/12] [model] 'channel_id' ❌ [4/12] [policy] 'require_channel_id_vaild' [5/12] [p

5:31 pm

93

Job exception: undefined method `include?' for nil:NilClass

5:58 pm

275

Job exception: undefined method `include?' for nil:NilClass

6:14 pm

Ja, ich habe die Plugins über die Admin-Einstellungen deaktiviert.

Idealerweise müssten Sie auf den spezifischen Fehler klicken, der für das Problem relevant ist, und die Meldung kopieren, um sie hier einzufügen. Eine wahrscheinliche Meldung könnte sein:

NoMethodError (undefined method `enable_personal_messages?' for SiteSetting:Class) app/serializers/topic_view_details_serializer.rb:127:in `include_can_invite_to?' (eval):11:in `_fast_attributes' lib/\n```

Wenn Sie jedoch Plugins von Drittanbietern haben, die sich auf PMs auswirken, wäre dies ein wahrscheinlicher Ansatzpunkt. Wie Pfaffman sagt, reicht manchmal der abgesicherte Modus nicht aus, und Sie müssten das Plugin aus Ihrer `app.yml` entfernen und neu erstellen. Welche Plugins haben Sie auf Ihrer Website?
1 „Gefällt mir“

Das reicht nicht aus, um viele Plugins vollständig zu deaktivieren. Sie müssen sie in Ihrer app.yml auskommentieren und neu erstellen.

Das wird ein Problem sein, aber ist es wahrscheinlich noch nicht.

Betreiben Sie Multisite?

Haben Sie das alte Chat-Plugin installiert (es wurde jetzt in den Kern integriert)?

Sie sollten die Liste der Plugins, die Sie verwenden, angeben.

1 „Gefällt mir“

Hier sind die Plugins, die auf der Website installiert wurden:






Ebenso, @pfaffman, ich bin selbst kein Programmierer und könnte einige deiner Worte falsch interpretieren. Deshalb habe ich beschlossen, den Link zu diesem Thema mit meinem Programmierer zu teilen.

1 „Gefällt mir“

Ich glaube, es ist wahrscheinlich das Custom Trust Level-Plugin. Ich glaube, jemand anderes hatte vor einiger Zeit ein ähnliches Problem damit:

Sie (oder Ihr Entwickler) müssten dieses Plugin aus Ihrer app.yml entfernen und ohne es neu erstellen. Hoffentlich sollte das alles wieder in Ordnung bringen. :crossed_fingers:

4 „Gefällt mir“

36 Plugins ist viel. Beachten Sie, dass sie auch dann noch Auswirkungen auf Ihre Website haben können, wenn sie deaktiviert sind. Wenn Ihr Entwickler diese Korrektur implementiert, würde ich ihm auch empfehlen, jedes Plugin auszukommentieren, das nicht aktiv und in Gebrauch ist.

1 „Gefällt mir“

FWIW, ich denke, unser Businessplan wird mit etwa 31 (alle #offiziell, also wahrscheinlich weniger besorgniserregend) gebündelt.

1 „Gefällt mir“

Hallo! Ja, du hattest Recht :100: Das Problem wurde durch das Custom Trust Level Plugin verursacht. Unser Programmierer hat, wie du und @pfaffman geraten habt, sehr dankbar für eure beide exzellente Unterstützung :pray:

Ja, du könntest Recht haben, ich verstehe, dass es zu viele Plugins sind und in Zukunft (bei Updates) Fehler auftreten können. Aber ich fange gerade ein neues Projekt mit KI an und möchte alle Plugins testen, um zu verstehen, welche für mein Projekt wirklich nützlich sein werden und welche ich später nicht mehr brauche.

3 „Gefällt mir“

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.