Support » Plugin: WP Super Cache » Error when enable it

  • Hi!, I have installed WP Super Cache and when I enable the plugin I get these errors in the header:

    Warning: file(/home/…/public_html/…/wp-content/wp-cache-config.php) [function.file]: failed to open stream: No such file or directory in /home/…/public_html/…/wp-content/plugins/wp-super-cache/wp-cache.php on line 1963

    Warning: Invalid argument supplied for foreach() in /home/…/public_html/…/wp-content/plugins/wp-super-cache/wp-cache.php on line 1964

    Lines 1963 and 1964 are these:

    $lines = file($wp_cache_config_file);
    foreach($lines as $line) {

    Any idea?

    Thanks!

    https://wordpress.org/plugins/wp-super-cache/

Viewing 4 replies - 1 through 4 (of 4 total)
  • I am having the exact same issue and posted it 2 days ago. Still waiting for an answer. I cant log on to my site.

    I am having the exact same ISSUE! I can’t log in to my site to enabel this plugin that is causing the problem – Please help asap.

    Try deleting the plugin via ftp to log in

    Try opening wp-config.php and replacing the line starting “define('WPCACHEHOME'” with:

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

    Worked for me.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error when enable it’ is closed to new replies.