Scheduled articles: missed schedule
-
Hi
I have a blog where articles are published on a daily basis. The articles are always created a few weeks in advance and therefore are scheduled for the specific date to be published.
Everything worked fine for about a year but now there is an issue. At first the scheduled articles were not visible on the website. Even though the status of these articles was “published”, I had to manually click on “update” in the article for it to be visible on the blog. I tried to fix this issue with several solutions:
– I increased the “WP_MEMORY_LIMIT” in the wp-config.php file to 500M:
define('WP_MEMORY_LIMIT', '500M');
– I added the following code to my wp-config.php file:
define('DISABLE_WP_CRON', true);
– I added the following code to the functions.php file of my theme:
function wpdocs_run_on_publish_only( $new_status, $old_status, $post ) { if ( 'publish' === $new_status && 'publish' !== $old_status ) { if (defined('LSCWP_V')) { do_action( 'litespeed_purge_post', $post->ID ); } } } add_action( 'transition_post_status', 'wpdocs_run_on_publish_only', 10, 3 );
Now the issue seems to have changed a bit: The status of the article is now “missed schedule” and not “published” (but not visible).
Can you help me with this issue?
Thank you in advance.
The page I need help with: [log in to see the link]
- The topic ‘Scheduled articles: missed schedule’ is closed to new replies.