• Resolved Jack

    (@jack1132132)


    Hello,

    I’m trying to delete w3 on my website and the uninstall button is returning the following error:

    Fatal error: Uncaught W3TC\Util_Environment_Exceptions in /jacku/wordpress/wp-content/plugins/w3-total-cache/Root_Environment.php:83 Stack trace: #0 /jacku/wordpress/wp-content/plugins/w3-total-cache/Util_Activation.php(205): W3TC\Root_Environment->fix_after_deactivation() #1 /jacku/wordpress/wp-content/plugins/w3-total-cache/Generic_Plugin_Admin.php(203): W3TC\Util_Activation::deactivate_plugin() #2 /opt/jacku/wordpress/wp-includes/class-wp-hook.php(308): W3TC\Generic_Plugin_Admin->admin_init() #3 /opt/jacku/wordpress/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #4 /opt/jacku/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action() #5 /opt/jacku/wordpress/wp-admin/admin.php(175): do_action() #6 /opt/jacku/wordpress/wp-admin/plugins.php(10): require_once('...') #7 {main} thrown in /jacku/wordpress/wp-content/plugins/w3-total-cache/Root_Environment.php on line 83

    I’ve tried deactivating it and removing it, but now it’s returning randomly errors 5** left and right. Sometimes from images, sometimes from scripts, other times from the actual page. It’s mainly error 502 and 521s.

    Please help me uninstall this so I can get back to developing on this server.

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Jack

    (@jack1132132)

    Hello,
    I’ve followed the instructions in https://ww.wp.xz.cn/support/topic/error-502-and-redirect-to-home-page-with-w3-total-cache-plugin/:

    To completely remove W3 Total Cache please follow the instructions below:
    1. Purge Cache
    2. Deactivate and Delete Plugin
    3. 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.
    4. 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)
    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.

    Thanks!

    But I’m still having the 500 errors.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @jack1132132

    Thank you for reaching out and I am happy to assist you with this.
    There appears to be some problem with your hosting environment, as the plugin cannot be removed via the dashboard. And since you’ve removed all the W3TC files from the server, it means that W3 Total Cache does not have any impact on your website at all.

    Can you please check WP_DEBUG and see if there are any error messages?

    Can you please share the website URL and where the website is hosted, and have you tried reaching out to your hosting provider for assistance?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Errors 5** everywhere after removing plugin’ is closed to new replies.