It’s quite the opposite. 1.5 worked fine. The update to 1.5.1 is what broke all of my websites. Downgrading to 1.5 worked for me.
I am running the latest WordPress version with PHP 5.6
[21-Jul-2017 20:14:06 UTC] PHP Fatal error: require_once(): Failed opening required 'rest/class.wp-super-cache-rest-get-settings.php' (include_path='.:/opt/sp/php5.6/lib/php') in /srv/users/sportsc325yrd/apps/sportsc325yrd/public/wp-content/plugins/wp-super-cache/rest/load.php on line 3
Funny enough, only my websites broke, that had WP Super Cache installed and active, but did not have the cache activated.
My guess is, that the constant WPCACHEHOME
is not defined correctly, since many of my websites were migrated with BackupBuddy and Duplicator, and for as long as WP Super Cache is installed, but the caching is not activated, the path for the constant WPCACHEHOME
will not be updated.
At the moment WP Super Cache only checks WPCACHEHOME
when activating the cache.
Checking to see if WPCACHEHOME
is set correctly upon plugin install/update would fix these issues.
Is it really necessary to use the constant WPCACHEHOME
in /wp-super-cache/rest/load.php
to include the files? Wouldn’t plugins_url()
be a better option?
I assume that everyone else who is complaining about 1.5.1, has an incorrect WPCACHEHOME defined, due to either migrating the website, or moving the website on their server to a new folder.
-
This reply was modified 7 years, 4 months ago by Liddika.