• After deactivating and uninstalling the W3 cache plugin, getting PHP warning in the error log related to W3. Sorry I lost the specific warning…

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @wordmax

    Thank you for reaching out and I am happy to help!
    Can you please confirm you are still getting this php warning?

    1. Check .htaccess File (make backup)
      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.
    2. Delete wp-content files and folders
    • cache folder
    • w3tc-config folder
    • object-cache.php (if exists)
    • advanced-cache.php (if exists)
    • db.php (if exists)
    • upgrade folder
    • delete w3-total-cache folder in wp-content/plugins/ (if exists)
    1. 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.
    2. Go to your wp dashboard and re-install W3 Total Cache

    Let me know if this helps!

    Thanks!

    Thread Starter wordmax

    (@wordmax)

    Thanks we followed your instructions. It worked. There appear to be no more PHP warnings related to W3 Total Cache for now. Will keep you posted if we see any more. p.s. before we disabled/deleted the W3 plugin we unchecked all of the Enable options for cache on the main settings page. Not sure if this makes any difference or not. Some article about this issue suggested it.

    Also: In this case, there was no issue with htaccess left over code remnants from W3.

    • This reply was modified 1 week, 2 days ago by wordmax.
    • This reply was modified 1 week, 2 days ago by wordmax.
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.