Under review

W3 Total Cache Crashed my site

randy 3 weeks ago updated by support (Support) 3 weeks ago 1 1 duplicate

Current plugin: W3 Total Cache (version 0.13.3)
PHP version 7.0.33

Error Details
An error of type E_ERROR was caused in line 158 of the file -w3-total-cache/Cache_File.php. Error message: Illegal length modifier specified 'f' in s[np]printf call

Duplicates 1

Under review

Thank you for contacting us.

I am sorry to hear that W3 Total Cache crashed your website and our team is happy to help you get this working again.

The first thing I recommend trying is completely removing W3 Total Cache and reinstalling it.

Follow these steps to completely remove W3TC and reinstall it:

  1. Purge Cache
  2. Deactivate and Delete Plugin in the dashboard
  3. Check .htaccess file and remove W3TC configurations (make a backup of the file before deleting)
    W3TC will create many directives in .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 left over in your .htaccess file after deleting the plugin.
  4. Delete the following files and folders from your /wp-content directory:
    cache folder
    w3tc-config folder
    object-cache.php (if it exists)
    advanced-cache.php (if it exists)
    upgrade folder
    w3-total-cache folder (if it exists)
  5. Delete cached files from your CDN if you are using one
    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 WordPress dashboard and reinstall W3 Total Cache

Hopefully that fixes the problem you are seeing, but please let us know if the problem persists.