Saluti a tutti i partecipanti al forum e al team di Discourse!
Si è verificato un errore non specificato sul mio sito. Un utente o un dipendente del sito (ad eccezione dell’amministratore) non può vedere il suo messaggio personale. Il titolo di un messaggio privato appare nell’elenco generale dei messaggi, ma facendo clic sul collegamento non si apre il contenuto completo. Ho provato a disabilitare tutti i plugin e i componenti del tema, ho persino provato a rimuovere tutto il CSS, ma non è servito a nulla. Ecco come è scritto:
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
Idealmente, dovresti fare clic sull’errore specifico pertinente al problema e copiare il messaggio da incollare qui. Uno probabile potrebbe essere:
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```
Tuttavia, se hai plugin di terze parti che influiscono sui messaggi privati, quello sarebbe un posto probabile da cui iniziare. Come dice Pfaffman, a volte la modalità sicura non è sufficiente e dovresti rimuovere il plugin dal tuo `app.yml` e ricostruire. Quali plugin hai sul tuo sito?
Allo stesso modo, @pfaffman, non sono un programmatore e potrei interpretare erroneamente alcune delle tue parole. Pertanto, ho deciso di condividere il link a questo argomento con il mio programmatore.
36 plugin sono tanti. Tieni presente che anche se sono disabilitati possono comunque avere un impatto sul tuo sito. Quando il tuo sviluppatore implementerà questa correzione, ti consiglio anche di fargli commentare qualsiasi plugin che non sia attivo e in uso.
Ciao! Sì, avevi ragione Il problema è stato causato dal plugin Custom Trust Level. Il nostro programmatore ha fatto come avevate consigliato tu e @pfaffman, molto grato a entrambi per l’eccellente supporto
Sì, potresti avere ragione, capisco che ci siano troppi plugin e in futuro (durante eventuali aggiornamenti) potrebbero verificarsi errori. Ma sto appena iniziando un nuovo progetto con l’IA e voglio testare tutti i plugin per capire quali saranno davvero utili per il mio progetto e quali non mi serviranno in seguito.