After upgrading to 4.9, I browsed through the admin and saw this on what should have been the wp super cache admin page
“Warning! Could not update /home/SITENAMEl/wp-config.php! WPCACHEHOME must be set in config file.
Warning! /home/SITENAME/wp-content/advanced-cache.php does not exist or cannot be updated.
If it already exists, please delete the file first.
Make /home/SIENAME/wp-content writable using the chmod command through your ftp or server software. (chmod 777 /home/SITENAME/wp-content) and refresh this page. This is only a temporary measure and you’ll have to make it read only afterwards again. (Change 777 to 755 in the previous command)
Refresh this page to update /home/SITENAME/wp-content/advanced-cache.php
If that doesn’t work, make sure the file /home/SITENAME/wp-content/advanced-cache.php doesn’t exist:
Open /home/SITENAME/wp-content/plugins/wp-super-cache/advanced-cache.php in a text editor.
Change the text CACHEHOME to /home/SITENAME/wp-content/plugins/wp-super-cache/
Save the file and copy it to /home/SITENAME/wp-content/advanced-cache.php and refresh this page.
I have been using wp super cache for many years with no issues
I checked wp-config filke and could see 2 lines that were super cache related
define( ‘WPCACHEHOME’, ‘/home/SITENAME/wp-content/plugins/wp-super-cache/’ ); //Added by WP-Cache Manager
and further down
define(‘WP_CACHE’, true); //Added by WP-Cache Manager
I deleted caches, removed the advanced cache.php file, removed the lines from wp-config, removed the htaccess lines and deleted the plugin
I installed a new copy set the wp-content and wp-config to 777
The same error messages appeared
I added the lines back to wp-config with no joy
I do not understand the instructions re advanced-cache’php as it say to replace the text CACHEHOME whereas there is no CACHEHOME only 2 mentions of WPCACHEHOME
Nt sure if this is down to the 4.9 upgrade happening today or if this occuured previously
- The topic ‘Super cache stopped working after upgrade to 4.9’ is closed to new replies.