Forums

WP Super Cache
Cache expiry cron job failed. Job will run again in 10 seconds (4 posts)

  1. pastorjcox
    Member
    Posted 4 months ago #

    I am trying use WP Super Cache plugin but keep getting this error message:

    "Cache expiry cron job failed. Job will run again in 10 seconds."

    I am seeing this in multiple WordPress installations on multiple servers. Anyone know what could be causing this message and how to resolve it?

    http://wordpress.org/extend/plugins/wp-super-cache/

  2. Donncha O Caoimh
    Member
    Posted 4 months ago #

    Are you using coarse file locking? That's usually the reason this fails.

  3. pastorjcox
    Member
    Posted 4 months ago #

    No, I'm not. The box is unchecked.

  4. Donncha O Caoimh
    Member
    Posted 4 months ago #

    Best thing to do is open wp-cache-phase2.php and find the warning, "Cache expiry cron job failed". There's a line above it:
    if( false == ( $num = wp_cache_phase2_clean_expired( $file_prefix ) ) ) {

    Change that "==" to "===". Does that help?

    If that doesn't change anything look at the function wp_cache_phase2_clean_expired and check the return values it returns.

Reply

You must log in to post.

About this Plugin

About this Topic