Closing the loop on this – in excellent news, it would seem that WP Missed Schedule was the culprit. I’ve disabled it and I’m back in business.
Thanks all for your help on this – I really appreciate it.
Closing the loop on this – in excellent news, it would seem that WP Missed Schedule was the culprit. I’ve disabled it and I’m back in business.
Thanks all for your help on this – I really appreciate it.
Glad to hear it. WordPress plugin clashes can be a bit of a nightmare.
Мне не хочется поднимать эту тему спустя 5 лет, но у меня возникла та же проблема, что и у Хоука в то время. Когда я устанавливаю публикацию поста в Discourse и планирую её на будущее время в WordPress, галочка снимается после сохранения. Я пробовал отключить все плагины, кроме Discourse, но проблема сохраняется. Есть ли другие идеи?
Привет, Дэвид! Вы используете встроенную систему планирования публикаций WordPress или плагин?
(просто для контекста: я только что протестировал это на своих тестовых сайтах, и всё работает как ожидается. Я не утверждаю, что проблемы нет, но в данный момент воспроизвести её не удаётся).
Спасибо, Энгус. Здесь используется планирование по умолчанию, у меня нет никаких плагинов, связанных с планированием. Я также пробовал отключать все плагины, но проблема сохраняется.
Логи выглядят нормально:
[2022-06-08 12:52:35] connection.INFO: check_connection_status.successful_connection
[2022-06-08 12:52:35] connection.INFO: check_connection_status.valid_scopes
В консоли я тоже ничего подходящего не вижу.
Дэвид, не могли бы вы поделиться файлом «meta» из скачанных вами логов (он содержит все настройки WP Discourse и информацию об окружении вашего сервера WordPress), а также, возможно, записать видео, демонстрирующее проблему? Мне всё ещё не удаётся воспроизвести её.
Вот как записать видео:
Если вы сможете воспроизвести проблему таким образом, я смогу точно увидеть, что происходит. Если возможно, отправьте мне это видео в личные сообщения.
Спасибо, Ангус. Теперь, когда я пытаюсь воспроизвести это, оно, конечно, не воспроизводится, и, похоже, волшебным образом исправилось
Если это произойдет снова и я смогу воспроизвести, я напишу тебе в личные сообщения.
Я точно наблюдаю эту проблему и знаю шаги для ручного добавления пермалинка Discourse и post_id в сегмент пользовательских полей поста. Это не идеальный вариант, так как у нас много редакторов, планирующих публикации.
Редактирование: Используем функцию планирования публикаций в WordPress.com и функцию планирования в админ-панели WordPress. Плагины не используются.
Вижу логи вроде этих:
[2023-10-03 01:28:32] webhook_topic.INFO: update_topic_content.update_post_metadata_success {"post_ids":"261474"}
[2023-10-03 01:40:20] webhook_topic.INFO: update_topic_content.update_post_metadata_success {"post_ids":"261474"}
[2023-10-03 01:44:30] webhook_topic.INFO: update_topic_content.update_post_metadata_success {"post_ids":"261661"}
[2023-10-03 01:44:52] webhook_topic.INFO: update_topic_content.update_post_metadata_success {"post_ids":"261661"}
[2023-10-03 01:46:34] webhook_topic.INFO: update_topic_content.update_post_metadata_success {"post_ids":"261675"}
[2023-10-03 01:46:43] webhook_topic.INFO: update_topic_content.update_post_metadata_success {"post_ids":"261474"}
[2023-10-03 01:46:58] webhook_topic.INFO: update_topic_content.update_post_metadata_success {"post_ids":"261675"}
[2023-10-03 01:53:12] webhook_topic.INFO: update_topic_content.update_post_metadata_success {"post_ids":"261661"}
[2023-10-03 01:55:04] webhook_topic.INFO: update_topic_content.update_post_metadata_success {"post_ids":"261661"}
[2023-10-03 01:57:34] webhook_topic.INFO: update_topic_content.update_post_metadata_success {"post_ids":"261661"}
[2023-10-03 02:01:07] webhook_topic.INFO: update_topic_content.update_post_metadata_success {"post_ids":"261675"}
[2023-10-03 03:51:36] webhook_topic.INFO: update_topic_content.update_post_metadata_success {"post_ids":"261474"}
[2023-10-03 05:07:05] webhook_topic.INFO: update_topic_content.update_post_metadata_success {"post_ids":"261474"}
[2023-10-03 05:08:36] webhook_topic.INFO: update_topic_content.update_post_metadata_success {"post_ids":"261474"}
[2023-10-03 07:11:03] webhook_topic.ERROR: update_topic_content.response_body_error
[2023-10-03 07:11:03] webhook_topic.ERROR: update_topic_content.response_body_error
[2023-10-03 07:11:04] webhook_topic.ERROR: update_topic_content.response_body_error
[2023-10-03 07:11:04] webhook_topic.ERROR: update_topic_content.response_body_error
[2023-10-03 07:11:04] webhook_topic.ERROR: update_topic_content.response_body_error
[2023-10-03 10:00:05] publish.INFO: create_post.post_success {"wp_title":"Daily Bullets (Oct. 3): Ranking the Remaining Schedule, Afternoon Kick for Kansas Game","wp_author_id":"103","wp_post_id":261716}
[2023-10-03 10:00:05] publish.INFO: create_post.body_valid {"wp_title":"Daily Bullets (Oct. 3): Ranking the Remaining Schedule, Afternoon Kick for Kansas Game","wp_author_id":"103","wp_post_id":261716}
[2023-10-03 10:00:05] publish.INFO: create_post.after_publish {"post_id":261716,"remote_post_type":"create_post","discourse_post_id":"500799","discourse_topic_id":"19153","discourse_permalink":"https://forum.pistolsfiringblog.com/t/daily-bullets-oct-3-ranking-the-remaining-schedule-afternoon-kick-for-kansas-game/19153"}
[2023-10-03 10:00:07] webhook_topic.ERROR: update_topic_content.response_body_error
[2023-10-03 10:00:07] webhook_topic.INFO: update_topic_content.update_post_metadata_success {"post_ids":"261716"}
[2023-10-03 11:16:11] webhook_topic.INFO: update_topic_content.update_post_metadata_success {"post_ids":"261735"}
[2023-10-03 13:26:23] publish.ERROR: create_post.post_error {"wp_title":"The Top 5 Quotes from Mike Gundy's Pre-Kansas State News Conference","wp_author_id":"20980","wp_post_id":261735,"response_message":"Embed url has already been taken","http_code":422}
[2023-10-03 13:27:03] publish.ERROR: create_post.post_error {"wp_title":"The Top 5 Quotes from Mike Gundy's Pre-Kansas State News Conference","wp_author_id":"20980","wp_post_id":261735,"response_message":"Embed url has already been taken","http_code":422}
[2023-10-03 13:28:48] connection.INFO: check_connection_status.successful_connection
[2023-10-03 13:28:48] connection.INFO: check_connection_status.valid_scopes
[2023-10-03 13:33:03] publish.ERROR: create_post.post_error {"wp_title":"The Top 5 Quotes from Mike Gundy's Pre-Kansas State News Conference","wp_author_id":"20980","wp_post_id":261735,"response_message":"Embed url has already been taken","http_code":422}
[2023-10-03 13:35:23] publish.INFO: update_post.post_success {"wp_title":"Daily Bullets (Oct. 3): Ranking the Remaining Schedule, Afternoon Kick for Kansas Game","wp_author_id":"103","wp_post_id":261716}
[2023-10-03 13:35:23] publish.INFO: update_post.body_valid {"wp_title":"Daily Bullets (Oct. 3): Ranking the Remaining Schedule, Afternoon Kick for Kansas Game","wp_author_id":"103","wp_post_id":261716}
[2023-10-03 13:35:23] publish.ERROR: featured_link.post_error {"wp_title":"Daily Bullets (Oct. 3): Ranking the Remaining Schedule, Afternoon Kick for Kansas Game","wp_author_id":"103","wp_post_id":261716,"response_message":"There was an error updating that topic.","http_code":422}
[2023-10-03 13:35:24] webhook_topic.ERROR: update_topic_content.response_body_error
[2023-10-03 13:35:25] webhook_topic.ERROR: update_topic_content.response_body_error
[2023-10-03 13:37:34] publish.ERROR: create_post.post_error {"wp_title":"Safety Trey Rucker 'Active' Following Alleged DUI Arrest","wp_author_id":"20980","wp_post_id":261731,"response_message":"Embed url has already been taken","http_code":422}
[2023-10-03 13:50:56] webhook_topic.INFO: update_topic_content.update_post_metadata_success {"post_ids":"261735"}
[2023-10-03 13:59:02] webhook_topic.ERROR: update_topic_content.response_body_error
[2023-10-03 14:49:45] webhook_topic.INFO: update_topic_content.update_post_metadata_success {"post_ids":"261474"}
[2023-10-03 14:53:23] webhook_topic.INFO: update_topic_content.update_post_metadata_success {"post_ids":"261675"}
[2023-10-03 14:59:45] webhook_topic.INFO: update_topic_content.update_post_metadata_success {"post_ids":"261474"}
[2023-10-03 15:07:33] webhook_topic.INFO: update_topic_content.update_post_metadata_success {"post_ids":"261474"}
[2023-10-03 15:14:55] webhook_topic.INFO: update_topic_content.update_post_metadata_success {"post_ids":"261675"}
[2023-10-03 15:26:45] publish.INFO: create_post.post_success {"wp_title":"Mike Gundy Names Alan Bowman Starter for Kansas State Game","wp_author_id":"20980","wp_post_id":261751}
[2023-10-03 15:26:45] publish.INFO: create_post.body_valid {"wp_title":"Mike Gundy Names Alan Bowman Starter for Kansas State Game","wp_author_id":"20980","wp_post_id":261751}
[2023-10-03 15:26:45] publish.INFO: create_post.after_publish {"post_id":261751,"remote_post_type":"create_post","discourse_post_id":"500847","discourse_topic_id":"19158","discourse_permalink":"https://forum.pistolsfiringblog.com/t/mike-gundy-names-alan-bowman-starter-for-kansas-state-game/19158"}
[2023-10-03 15:26:46] webhook_topic.ERROR: update_topic_content.response_body_error
[2023-10-03 15:26:46] webhook_topic.INFO: update_topic_content.update_post_metadata_success {"post_ids":"261751"}
[2023-10-03 15:28:49] publish.INFO: create_post.post_success {"wp_title":"Video: Oklahoma State Players Preview Kansas State","wp_author_id":"20980","wp_post_id":261746}
[2023-10-03 15:28:49] publish.INFO: create_post.body_valid {"wp_title":"Video: Oklahoma State Players Preview Kansas State","wp_author_id":"20980","wp_post_id":261746}
[2023-10-03 15:28:49] publish.INFO: create_post.after_publish {"post_id":261746,"remote_post_type":"create_post","discourse_post_id":"500849","discourse_topic_id":"19159","discourse_permalink":"https://forum.pistolsfiringblog.com/t/video-oklahoma-state-players-preview-kansas-state/19159"}
[2023-10-03 15:28:51] webhook_topic.ERROR: update_topic_content.response_body_error
[2023-10-03 15:28:51] webhook_topic.INFO: update_topic_content.update_post_metadata_success {"post_ids":"261746"}
[2023-10-03 16:09:44] webhook_topic.INFO: update_topic_content.update_post_metadata_success {"post_ids":"261728"}
[2023-10-03 17:03:51] publish.INFO: update_post.post_success {"wp_title":"Mike Gundy Names Alan Bowman Starter for Kansas State Game","wp_author_id":"20980","wp_post_id":261751}
[2023-10-03 17:03:51] publish.INFO: update_post.body_valid {"wp_title":"Mike Gundy Names Alan Bowman Starter for Kansas State Game","wp_author_id":"20980","wp_post_id":261751}
[2023-10-03 17:03:51] publish.ERROR: featured_link.post_error {"wp_title":"Mike Gundy Names Alan Bowman Starter for Kansas State Game","wp_author_id":"20980","wp_post_id":261751,"response_message":"There was an error updating that topic.","http_code":422}
[2023-10-03 17:03:54] webhook_topic.ERROR: update_topic_content.response_body_error
[2023-10-03 17:03:54] webhook_topic.ERROR: update_topic_content.response_body_error
[2023-10-03 17:10:34] publish.INFO: create_post.post_success {"wp_title":"Notebook: Cooper's Grind, Bowman on Presley's Involvement and Cameron Epps Just Getting Going","wp_author_id":"20980","wp_post_id":261754}
[2023-10-03 17:10:34] publish.INFO: create_post.body_valid {"wp_title":"Notebook: Cooper's Grind, Bowman on Presley's Involvement and Cameron Epps Just Getting Going","wp_author_id":"20980","wp_post_id":261754}
[2023-10-03 17:10:34] publish.INFO: create_post.after_publish {"post_id":261754,"remote_post_type":"create_post","discourse_post_id":"","discourse_topic_id":"19160","discourse_permalink":""}
[2023-10-03 17:10:37] webhook_topic.ERROR: update_topic_content.response_body_error
[2023-10-03 17:10:37] webhook_topic.INFO: update_topic_content.update_post_metadata_success {"post_ids":"261754"}
[2023-10-03 17:10:42] publish.INFO: create_post.post_success {"wp_title":"Notebook: Cooper's Grind, Bowman on Presley's Involvement and Cameron Epps Just Getting Going","wp_author_id":"20980","wp_post_id":261754}
[2023-10-03 17:10:42] publish.INFO: create_post.body_valid {"wp_title":"Notebook: Cooper's Grind, Bowman on Presley's Involvement and Cameron Epps Just Getting Going","wp_author_id":"20980","wp_post_id":261754}
[2023-10-03 17:10:42] publish.INFO: create_post.after_publish {"post_id":261754,"remote_post_type":"create_post","discourse_post_id":"","discourse_topic_id":"19160","discourse_permalink":""}
[2023-10-03 18:48:51] webhook_topic.INFO: update_topic_content.update_post_metadata_success {"post_ids":"261751"}
[2023-10-03 18:52:25] webhook_topic.INFO: update_topic_content.update_post_metadata_success {"post_ids":"261751"}
[2023-10-03 19:21:24] webhook_topic.INFO: update_topic_content.update_post_metadata_success {"post_ids":"261735"}
[2023-10-03 19:26:04] publish.INFO: create_post.post_success {"wp_title":"Hoops Notebook: Miranda's Goofiness, Hicklen's Degrees and Small's Distribution","wp_author_id":"20980","wp_post_id":261765}
[2023-10-03 19:26:04] publish.INFO: create_post.body_valid {"wp_title":"Hoops Notebook: Miranda's Goofiness, Hicklen's Degrees and Small's Distribution","wp_author_id":"20980","wp_post_id":261765}
[2023-10-03 19:26:04] publish.INFO: create_post.after_publish {"post_id":261765,"remote_post_type":"create_post","discourse_post_id":"500876","discourse_topic_id":"19161","discourse_permalink":"https://forum.pistolsfiringblog.com/t/hoops-notebook-mirandas-goofiness-hicklens-degrees-and-smalls-distribution/19161"}```
Спасибо за этот отчёт. Я скоро изучу его и свяжусь с вами.
Привет, @MiggityMac, не могли бы вы конкретно указать, какие сообщения в предоставленном вами логе не публикуются в Discourse при публикации по расписанию?