Closed nicolinuxfr closed 4 years ago
Had the same error. Quick-fixed it like this:
\plugins\simple-cache\inc\dropins\file-based-page-cache.php line 60
From this:
if ( sc_url_exception_match( $exception, $regex ) ) {
To this:
if ( function_exists('sc_url_exception_match') && sc_url_exception_match( $exception, $regex ) )
And this (line 66):
sc_serve_file_cache();
ob_start( 'sc_file_cache' );
To this:
if ( function_exists('sc_serve_file_cache') ) {
sc_serve_file_cache();
ob_start( 'sc_file_cache' );
}
I also experienced this problem on one of two sites that I use Simple Cache on. Site was down (500 Error) immediately after upgrade. Not only was the site down, but PHP processes were sometimes using all of the server CPU and causing issues for other sites on the server.
Disabling and re-enabling fixed the issue.
Like @larssg-wildsight Disabling and re-enabling fixed it for me ... at least for now! Thanks to @alx359 for finding a fix for the developers to implement in the next update of the plugin! If disable/re-enable doesn't work for you then this is the way to go until the next update is released.
I also experienced this problem on my site Disabling and re-enabling fixed it for me.
Should be fixed in 1.7.1
After having updated my WordPress site to Simple Cache 1.7 yesterday, the site was inaccessible to visitors. As I was connected as an admin, it worked fine and I did not notice the problem for several hours.
It was a PHP error, as indicated by my server logs :
The fix was to disable the plugin and then enable it again. I saw an error related to the
wp-config.php
file but the error was fixable by the plugin itself and now everything is working again.Let me know if you need more information.