Tagged: Fatal Error, W3 Total Cache
-
AuthorPosts
-
March 15, 2021 at 7:56 am #34967JamesGuest
When upgrading W3 Total Cache from v2.1.0 to v2.1.1 I get PHP white screen of death and the Apache log records the following
PHP Fatal error: Class ‘W3TCL\Minify\tidy’ not found in /home/xxxxxx/public_html/wp-content/plugins/w3-total-cache/lib/Minify/Minify/HTMLTidy.php on line 20
Had to roll the site back and stay on v2.1.0
I have tried to upgrade weeks apart but still get the same error.
This is on a single site.
Have been using WTC3 cache and upgrading from v0.8x onwards with no previous issues.
How to rectify, or get the missing files installed on the upgrade?
March 15, 2021 at 8:00 am #34992Marko VasiljevicKeymasterHello James,
I am sorry about the issue you are experiencing when upgrading the W3TC and I am happy to assist you with this.
What you can do is to make a backup of wp-content/w3tc-config/master.php and completely remove and re-install W3 Total Cache following the instructions below:
1. Purge Cache
2. Deactivate and Delete Plugin
3. Check .htaccess File (make a backup)
W3TC will create many directives in the .htaccess file to control the caching behavior. Each section will start and end with comments like “#BEGIN W3TC Page Cache core” and “#END W3TC Page Cache core”.
Ensure that no residual entries are leftover in your .htaccess file after deleting the plugin.
4. Delete wp-content files and folders
– cache folder
– w3tc-config folder
– object-cache.php (if exists)
– advanced-cache.php (if exists)
– dbcache.php (if exists)
– upgrade folder
– delete w3-total-cache folder in wp-content/plugins/ (if exists)
5. Delete Cached Files from CDN (if using CDN)
Besides deleting all the relevant files, if you use CDN then ensure to purge the cached content from your CDN. This is necessary when you enabled minify option in W3TC settings. You should delete the minified and combined scripts and CSS files from your CDN server to avoid the site breaking on the browser.
6. Go to your wp dashboard and re-install W3 Total Cache
7. copy and paste the backup of master.php to wp-content/w3tc-config/Alternatively, you can try upgrading the plugin to 2.1.1, download the latest version from here and copy the \w3-total-cache\lib\Minify\Minify\HTMLTidy.php from the downloaded folder into /home/xxxxxx/public_html/wp-content/plugins/w3-total-cache/lib/Minify/Minify/
I hope this helps!
Thanks! -
AuthorPosts
- The topic ‘WTC3’ is closed to new replies.