I'm getting this PHP Warning on back-end and front-end pages (WordPress) and can't figure out how to fix it:
Warning: include(/home/.../public_html/wp-content/advanced-cache.php): failed to open stream: No such file or directory in /home/.../public_html/wp-settings.php on line 84
Warning: include(): Failed opening '/home/.../public_html/wp-content/advanced-cache.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/.../public_html/wp-settings.php on line 84
Indeed, there is no advanced-cache.php in that directory (not sure if ever was), but absolutely the same configuration works on a different server without warnings.
Will appreciate any help. Thanks.
Answer
I think you have installed Advance cache plugin
, and a setting WP_CACHE
define('WP_CACHE', true);
// or may be it is a file like, if so then comment this line,
// below is the statement which need to be commented
// define('WP_CACHE', is_file(__DIR__.'/wp-content/advanced-cache.php'));
to prevent this error you can set to false, like
define('WP_CACHE', false);
No comments:
Post a Comment