• Yesterday in our blog, we decided to stop using WordPress classic editor and migrate to Gutenberg. Before yesterday, autopost was working fine, but since we started posting using Gutenberg the autopost feature stopped working.

    We haven’t updated nor changed anything. All the settings are the same. The only difference is we now post using Gutenberg.

    In the log it says that the posts changed from draft to publish and that it’s waiting for metadata, what does it mean?. My posts ids appear in an array there in the logs, but no matter how long I wait, they are not posted. I have executed the nextscripts cron jobs manually a couple of times, and it has made no difference. Also, the cronjobs are working fine, everything is executed with no problems.

    I have checked the error log file, and nothing weird appears there nor nothing related to nextscripts.

    Here is a portion of the log file of nextscripts:

    
    [2020-09-29 14:22:55] [User ID:100] - [Guttenberg]- Pending Autopost from Guttenberg. Waiting for Metadata (Array ( [0] => 218662 [1] => 218675 [2] => 218708 [3] => 218751 [4] => 218811 [5] => 218923 [6] => 219002 [7] => 219070 [8] => 219113 [9] => 219160 [10] => 219134 ) ) - Post ID:(219134) - Current Post status - publish
    [2020-09-29 14:22:55] [User ID:100] - [*** ID: 219134, Type: post]- Status Changed: draft_to_publish. Autopost requested. 0
    [2020-09-29 14:16:37] [User ID:95] - [Guttenberg]- Pending Autopost from Guttenberg. Waiting for Metadata (Array ( [0] => 218662 [1] => 218675 [2] => 218708 [3] => 218751 [4] => 218811 [5] => 218923 [6] => 219002 [7] => 219070 [8] => 219113 [9] => 219160 ) ) - Post ID:(219160) - Current Post status - publish
    [2020-09-29 14:16:37] [User ID:95] - [*** ID: 219160, Type: post]- Status Changed: draft_to_publish. Autopost requested. 0
    

    Thanks in advance.

    Edit: we are using the latest version of WordPress, and Nextscripts. No pending updates are available. Also, we are using the free version of nextscripts.

    • This topic was modified 4 years, 1 month ago by jaydoe96. Reason: add more info
    • This topic was modified 4 years, 1 month ago by jaydoe96.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jaydoe96

    (@jaydoe96)

    One thing that I’ve noticed is that when a user with admin privileges publish or modifies a post, then that post is queried and posted. But when a user with Editor privileges publish a post (most of our entries are posted by Editors, not admins) then they are stuck like the ones that appear in the previous posts.

    The only difference is that admins can see the nextscripts settings metabox in the editor, but those metaboxes are hidden for the editors. I selected the Editor role in the setting: ” Who can see auto-posting options on the “New Post” and “Edit Post” pages and make autoposts? “, so these metaboxes are not hidden for them, and now the posts are queried and posted.

    Why is this happening? Before, those metaboxes were hidden for them, and the posts where auto posted with no problems.

    • This reply was modified 4 years, 1 month ago by jaydoe96. Reason: add more info
    Plugin Author NextScripts

    (@nextscripts)

    Do you have WP Cron setup correctly?
    https://www.nextscripts.com/tutorials/wp-cron-scheduling-tasks-in-wordpress/

    Please go to the Log/History page and check only “All Cron Events” checkbox.

    You should see ONLY crons executed from WGET or Mozilla every one or two minutes. If you see nothing at all, calls from “WordPress/4.x.x” or calls made at irregular time intervals, your cron is not set correctly.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Autopost stopped working when using Gutenberg editor’ is closed to new replies.