my previous version was 2.8.1
and WP version 4.9.8
Hi @sainathk,
It looks like there is something wrong with your paths.
The first error:
Warning: include(/data/…./…/…/wp-content/advanced-cache.php): failed to open stream: No such file or directory in /data/…/…./…/wp-settings.php on line 84
means that you have a define(‘WP_CACHE’, true); set in your wp-config.php file, but WordPress cannot find wp-content/advanced-cache.php.
/data/…./…/…/wp-content/advanced-cache.php is a really strange path.
Second error is similar to the first.
Third error:
Fatal error: require_once(): Failed opening required ‘/data/…/…/…/wp-content/plugins/wp-smushit/core/class-wp-smush-installer.php’ (include_path=’.:/usr/share/pear:/usr/share/php’) in /data/../../wp-content/plugins/wp-smushit/wp-smush.php on line 221
Smush cannot find wp-smushit/core/class-wp-smush-installer.php. Again, something is wrong with the paths.
First error you can resolve by removing define(‘WP_CACHE’, true); from you wp-config.php file. Second one – rename Smush plugin folder. But you need to find why your paths became so strange. Maybe you installed a security plugin, or changed some settings on you host?
Best regards,
Anton
Here are the exact paths:
Warning: include(/data/wp-ms/co/radi/wp-content/advanced-cache.php): failed to open stream: No such file or directory in /data/wp-ms/co/radi/wp-settings.php on line 84
Warning: include(): Failed opening ‘/data/wp-ms/co/radi/wp-content/advanced-cache.php’ for inclusion (include_path=’.:/usr/share/pear:/usr/share/php’) in /data/wp-ms/co/radi/wp-settings.php on line 84
Fatal error: require_once(): Failed opening required ‘/data/wp-ms/co/radi/wp-content/plugins/wp-smushit/core/class-wp-smush-installer.php’ (include_path=’.:/usr/share/pear:/usr/share/php’) in /data/wp-ms/co/radi/wp-content/plugins/wp-smushit/wp-smush.php on line 221
@sainathk,
Oh, sorry, didn’t understand that you were masking the paths. Still, the fixes stay the same:
1. Remove define(‘WP_CACHE’, true); from wp-config.php
2. Temporarily rename Smush plugin folder, for example to wp-content/plugins/wp-smushit-tmp
Best regards,
Anton
@vanyukov
Thanks, now the site works fine. But, plugin is not active and when i try to activate it, the site is down.
do you know how can to fix this?
@sainathk,
I think it might be a failed update. Could you please try to remove the plugin folder via FTP and install it again?
Best regards,
Anton
Hello @sainathk
I’m marking this topic as resolved due to recent inactivity. Feel free to post back any update and we can re-open it and carry on troubleshooting! 🙂
Thank you,
Dimitris