• Resolved mwschaff

    (@mwschaff)


    I recently switched from using the classic editor to the block editor supplemented with the Kadence block plugin.

    At this time I noticed that when I try to schedule a post for the next day it publishes immediately. This is despite it showing it as successfully scheduled for a specific date and time in the future. The post shows a future date on the website page.

    I am currently on WordPress 5.8.3. My plans were to update to 5.9 next week but it would be better to wait until there are no issues.

    I haven’t gone through the process of deactivating plugins and testing as this loads up my website with many test posts viewable to the public.

    Any suggestions on what could be causing this? Thanks for your help

Viewing 3 replies - 16 through 18 (of 18 total)
  • Thread Starter mwschaff

    (@mwschaff)

    I think I found the issue. Based on @topher1kenobe suggestion I did try troubleshooting mode but it seemed to give inconsistent results so I started looking at possible settings conflicts in each of the plugins I was using.

    It appears to be a setting within the Docket Cache – Object Cache Accelerator plugin that is causing the problem. Within the configuration settings is “Post Missed Schedule Tweaks” described as “Fix the WordPress Missed Schedule Error after scheduling a future blog post”. I had this set to enabled and it was that way for quite sometime without issue. When I changed it to disabled I was able to schedule a post. I also had a separate Missed Schedule plugin for quite sometime. However, deactivating that plugin did not solve the issue from which I infer that it wasn’t in conflict with Docket Cache since the problem was there even when the Missed Schedule plugin was deactivated.

    To resolve the missed schedule problem I disable WP-Cron being initiated by a site visitor by adding define(‘DISABLE_WP_CRON’, true); to the wp-config.php file and then running a cron job through CPanel every 5 minutes to run wp-cron.php. I also deactivated the Missed Schedule plugin at the above does the same thing.

    This is all based on a limited number of scheduled test posts so I’m not absolutely positive this resolves it but it looks very promising. More real world confirmation is needed.

    Topher

    (@topher1kenobe)

    That’s great sleuthing, well done.

    Thread Starter mwschaff

    (@mwschaff)

    Thanks @topher1kenobe and thanks again for the help.

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘Scheduled Posts Posting Immediately’ is closed to new replies.