• Resolved yshimizu

    (@yshimizu)


    Hello.
    I’ve read the help documentation but couldn’t solve the problem, so please lend me your wisdom.

    The scheduled revision is not reflected after the specified date and time, and remains in the revision queue.

    I read the help document and tried the following, but it did not work:
    1. Check the time zone match.
    2. Enable revisions for the site.
    3. Uncheck the Asynchronous Publishing box in the Settings area.

    I also noticed in the process that the site where the problem was happening had Basic authentication and wp-cron was not working, so I fixed it to work.
    It still didn’t work.

    It worked correctly in the environment I built with Local by Flywheel, so I’m thinking that there must be some problem on the server side, but I don’t know what to check next.

    I hope you can find some hints to help me solve this problem. Best regards.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Kevin Behrens

    (@kevinb)

    @yshimizu Thanks for the detailed report. Do you see any corresponding PHP error log entries?

    Thread Starter yshimizu

    (@yshimizu)

    @kevinb
    Thank you too for your reply.
    I have tried turning on WordPress debug mode and using the error log monitor plugin.

    1. before the reserved update process started.
    At least, I didn’t find any errors for this plugin or revision.

    2. after the scheduled date and time.
    No errors were found.

    The server PHP version is 7.4 and WordPress version is 5.9.1.
    (The same applies to environments built with Local by Flywheel)

    I don’t know if this is related to this issue, but I have noticed something else.
    When I create a new revision or edit a revision from the revision queue with the asynchronous publish box unchecked in the settings area, the screen goes blank when I save the changes.
    If you turn on WordPress debug mode and perform the same operation, the error is not displayed. You will just see a blank screen as well.
    In both cases, the edits themselves were saved.

    This phenomenon was also observed only on the site where the problem occurred, and was not reproduced in the environment built with Local by Flywheel.

    Is there anything else I should check?

    Plugin Author Kevin Behrens

    (@kevinb)

    @yshimizu Can you please confirm that Revisions 3.0.12-rc2 resolves the revision publication issue on your site?

    https://downloads.wp.xz.cn/plugin/revisionary.zip

    After uploading and activating, take a look at Revisions > Settings > Scheduled Revisions. The new option “Use WP-Cron scheduling” should be automatically enabled on WP Engine sites. If not, manually to enable it.

    Thread Starter yshimizu

    (@yshimizu)

    @kevinb
    Thank you for your prompt work.

    I have tried it and 3.0.12-rc2 seems to work as expected.
    The scheduled revisions were successfully reflected at the date and time you set!

    If there is one thing that concerns me, it is that when WordPress debug mode is on, when I click New Revision from the post list to create a revision, I get some Warning errors in functions.php of the revisionary.
    (If debug mode is off, these errors will not interfere with the operation.)

    The error may be due to the theme you are using or other plug-ins you have installed, but just in case, here is a summary
    (File paths are omitted)

    
    Warning: array_diff(): Expected parameter 1 to be an array, null given in (File path)/wp-content/plugins/revisionary/functions.php on line 159
    Warning: Invalid argument supplied for foreach() in (File path)/wp-content/plugins/revisionary/functions.php on line 163
    Warning: Cannot modify header information - headers already sent by (output started at (File path)/wp-content/plugins/revisionary/functions.php:159) in (File path)/wp-includes/pluggable.php on line 1355
    Warning: Cannot modify header information - headers already sent by (output started at (File path)/wp-content/plugins/revisionary/functions.php:159) in (File path)/wp-includes/pluggable.php on line 1358
    

    If, after reviewing the above, the error appears to be due to a theme or other plugin, please mark this topic as resolved.

    Thank you so much for taking the time to help me out on this one!
    Very helpful!

    Plugin Author Kevin Behrens

    (@kevinb)

    @yshimizu That PHP warning should be harmless, but we’ll include a fix for that PHP warning in the next release.

    Plugin Author Kevin Behrens

    (@kevinb)

    @yshimizu PublishPress Revisions 3.0.12 is released, fixing the issues you reported.

    Thread Starter yshimizu

    (@yshimizu)

    @kevinb
    I just confirmed the update of the plugin.
    Thanks for the diligent communication and response!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Scheduled revisions are not reflected.’ is closed to new replies.