Grazie ancora. Ecco un dump dei log di oggi. (meno errori). Hai qualche idea sul perché ci siano ancora alcuni errori?
[2022-04-18 01:37:57] comment.INFO: sync_comments.success {"post_id":9305}
[2022-04-18 02:27:47] comment.INFO: sync_comments.success {"post_id":9305}
[2022-04-18 02:39:16] comment.INFO: sync_comments.success {"post_id":9305}
[2022-04-18 02:39:17] comment.INFO: sync_comments.success {"post_id":14775}
[2022-04-18 05:57:20] comment.INFO: sync_comments.success {"post_id":9305}
[2022-04-18 07:20:20] comment.INFO: sync_comments.success {"post_id":9305}
[2022-04-18 08:10:57] comment.INFO: sync_comments.success {"post_id":9305}
[2022-04-18 11:00:41] comment_formatter.ERROR: format.missing_post_data {"keys":"discourse_comments_raw"}
[2022-04-18 11:04:45] comment_formatter.ERROR: format.missing_post_data {"keys":"discourse_comments_raw"}
[2022-04-18 11:06:40] comment_formatter.ERROR: format.missing_post_data {"keys":"discourse_comments_raw"}
[2022-04-18 11:15:22] comment_formatter.ERROR: format.missing_post_data {"keys":"discourse_comments_raw"}
[2022-04-18 11:42:45] comment.INFO: sync_comments.success {"post_id":9305}
[2022-04-18 11:45:47] comment.INFO: sync_comments.success {"post_id":14785}
[2022-04-18 11:45:48] comment.INFO: sync_comments.success {"post_id":14775}
[2022-04-18 11:57:11] publish.INFO: update_post.post_success {"wp_title":"Webpc: Personal cloud desktop in your browser","wp_author_id":"34","wp_post_id":14785,"discourse_post_id":"555"}
[2022-04-18 11:57:11] publish.INFO: update_post.body_valid {"wp_title":"Webpc: Personal cloud desktop in your browser","wp_author_id":"34","wp_post_id":14785,"discourse_post_id":"555"}
[2022-04-18 11:57:12] publish.INFO: featured_link.post_success {"wp_title":"Webpc: Personal cloud desktop in your browser","wp_author_id":"34","wp_post_id":14785,"discourse_post_id":"555"}
[2022-04-18 11:57:12] comment.INFO: sync_comments.success {"post_id":14785}
[2022-04-18 11:57:12] comment.INFO: sync_comments.success {"post_id":14775}
[2022-04-18 12:05:24] comment.INFO: sync_comments.success {"post_id":9305}
[2022-04-18 12:08:39] comment.INFO: sync_comments.success {"post_id":14785}
[2022-04-18 12:11:51] connection.INFO: check_connection_status.successful_connection
Ci sono altre discussioni oltre a questa sulla personalizzazione dei commenti di Discourse importati su WordPress?
Is there an easy way to style comments in Wordpress with the same CSS being used at the bottom of this post?
Grazie
1 Mi Piace
angus
(Angus McLeod)
Ha separato questo argomento il
2 Maggio 2022, 9:29am
2
Un post è stato unito a un argomento esistente: Problemi con l’impostazione dei commenti ajax
Ho lo stesso problema con comment_formatter.ERROR: e non ho nemmeno i commenti di discourse attivi, né ajax. Colpisce i log ogni 2 secondi, 24 ore su 24. Nel frattempo, molti processi PHP lenti e un FLOCK che blocca tutto, mettendo il sito offline ripetutamente.
script_filename = /www/index.php
[0x00007fa5ef613c90] flock() /www/wp-content/plugins/wp-discourse/vendor_namespaced/monolog/monolog/src/Monolog/Handler/StreamHandler.php:106
[0x00007fa5ef613c00] write() /www/wp-content/plugins/wp-discourse/lib/logs/handlers/file-handler.php:167
[0x00007fa5ef613b50] write() /www/wp-content/plugins/wp-discourse/vendor_namespaced/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php:34
[0x00007fa5ef613ad0] handle() /www/wp-content/plugins/wp-discourse/vendor_namespaced/monolog/monolog/src/Monolog/Logger.php:283
[0x00007fa5ef6139b0] addRecord() /www/wp-content/plugins/wp-discourse/vendor_namespaced/monolog/monolog/src/Monolog/Logger.php:614
[0x00007fa5ef613930] error() /www/wp-content/plugins/wp-discourse/lib/discourse-comment-formatter.php:62
[0x00007fa5ef613670] format() /www/wp-content/plugins/wp-discourse/lib/discourse-comment.php:310
2 Mi Piace
angus
(Angus McLeod)
2 Maggio 2022, 8:13am
4
@gizadev Grazie per la segnalazione. Affronteremo presto il problema del logging (è in cima alla mia lista questa settimana).
Solo una nota: ho alcuni dubbi sul fatto che WP Discourse sia la causa dei tuoi problemi, che sembrano essere almeno parzialmente correlati ad altre fonti.
Li avevi abilitati in precedenza e hai commenti di Discourse esistenti sul tuo Wordpress?
Se possibile, potresti condividere i tuoi log di WP Discourse con me privatamente.
1 Mi Piace
angus
(Angus McLeod)
2 Maggio 2022, 10:15am
5
@haydenjames Sto seguendo questo, potresti controllare i tuoi log per vedere se quell’avviso è ricomparso?
Riguardandolo ora sembra che il logging sia accurato, anche se dovrebbe essere un avviso piuttosto che un errore, e necessita di dati aggiuntivi (come il post che lo causa), tuttavia non sono sicuro di catturare tutti gli scenari nel test.
1 Mi Piace
Certo, posso abilitare il logging. Ti farò sapere. Non ho avuto problemi da allora. (Per quanto ne so, ah)
Puoi anche dare un’occhiata al mio altro thread, probabilmente è colpa mia per aver postato di domenica:
Happy Sunday,
If two forum topics are related but not similar enough to merge, is there an official or recommended method to connect the two?
Other than making a comment at the end of each topic and linking to each?
I know when topics are split, there leaves a public trail that visitors can click to follow the related topic that was split. So basically looking for the same, but the reverse; 2 related topics that are not similar enough to merge but useful if connected/linked.
Thanks!
2 Mi Piace
Senza abilitare i log che avevo precedentemente disabilitato, ho trovato questi. Solo il 30 aprile:
[2022-04-30 17:17:01] comment_formatter.ERROR: format.missing_post_data {"keys":"discourse_comments_raw"}
[2022-04-30 17:20:01] comment_formatter.ERROR: format.missing_post_data {"keys":"discourse_comments_raw"}
[2022-04-30 17:20:18] comment_formatter.ERROR: format.missing_post_data {"keys":"discourse_comments_raw"}
[2022-04-30 17:20:47] comment_formatter.ERROR: format.missing_post_data {"keys":"discourse_comments_raw"}
[2022-04-30 17:28:06] comment_formatter.ERROR: format.missing_post_data {"keys":"discourse_comments_raw"}
[2022-04-30 17:29:11] comment_formatter.ERROR: format.missing_post_data {"keys":"discourse_comments_raw"}
[2022-04-30 17:29:41] comment_formatter.ERROR: format.missing_post_data {"keys":"discourse_comments_raw"}
[2022-04-30 17:38:09] comment_formatter.ERROR: format.missing_post_data {"keys":"discourse_comments_raw"}
Prima di questo, l’ultima volta che il file di log è stato scritto è stato il 19, poco prima della disabilitazione.
2 Mi Piace