WP Super Cache caching broken

I am having an ambiguous error. The path in the error is correct:

Warning! WP Super Cache caching broken! The script advanced-cache.php
could not load wp-cache-phase1.php.

Read More

Please edit /wp-content/advanced-cache.php
and make sure the path to
/wp-content/plugins/wp-super-cache/wp-cache-phase1.php
is correct.

What needs to be fixed?

Related posts

Leave a Reply

4 comments

  1. The problem is that the constant is not defined until after the plugin loads. This error is possible if the line “require_once(ABSPATH . ‘wp-settings.php’);” is present in wp-config.php . WPCACHEHOME is probably being defined after this line, but needs to be defined above it:

    define( 'WPCACHEHOME', '<site root>/wp-content/plugins/wp-super-cache/' ); //Added by WP-Cache Manager
    require_once(ABSPATH . 'wp-settings.php');
    
  2. This is a permission issue, U should check that the paths mantioned in the error notice have 777 permisions, BUT, my advice on this issue is simply to NOT use this plugin, I had it installed on some of my site, and almost in all of them it caused errors on diffrent elements on my site.
    I’m not saying that using this plugin will cause problems for sure, but this plugin is known as problematic, and for my opinion it doesn’t justify itself.

  3. Please use this in your wp-config.php file

    define('WPCACHEHOME', dirname(__FILE__) . '/wp-content/plugins/wp-super-cache/');
    

    before

    /** Absolute path to the WordPress directory. */
    if ( !defined('ABSPATH') )
    define('ABSPATH', dirname(__FILE__) . '/');