Troubleshooting in PublishPress Future

If your posts are not being unpublished at the correct time, this guide will help. Please follow through all the steps to check


Step #1. Are cron tasks being created?

Start by checking your cron tasks. PublishPress Future will show whether or not a cron job has been successfully set up for your posts to expire. In the image below, “Cron event scheduled” means that everything is working correctly.

Cron Scheduled
Cron Scheduled

You can confirm this by going to “Future” in your WordPress admin menu and then clicking the “Diagnostics” tab. If you do not see an event called postExpiratorExpire then your unpublishing has not been scheduled correctly.

Cron Schedule
Cron Schedule

Step #2. Are your cron jobs working?

Post Expirator relies on cron jobs to unpublish your content. This post has technical details on how it works.

  • Using WP Cron? Go to “Future” in your WordPress admin menu and then clicking the “Diagnostics” tab. You will see a green check mark if WP Cron is enabled.
  • Using a server-level cron job? Please check with your hosting company if you are using cron jobs on your server.

Step #3. Check your debug logs

PublishPress Future also has a debug option. Go to Future > Diagnostics and click “Enable Debugging”. After you have done that, you will see the logs under Future > View Debug Logs.

Is the information in those logs correct? These logs can be read by non-technical users. For example, the first line in that image shows that a post with the ID of “10” is set to “delete” on “Fri, 03 Sep 2021”.

Debug Log
Debug Log

Professional publishing plugins for WordPress! Get PublishPress

  • SUBSCRIBE TO OUR NEWSLETTER
  • SEARCH THIS SITE