Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #30866
    weeda.f.peeple
    Guest

    I just installed W3 Total Cache into my WordPress v.5.4.  When I try activate it, I get this error:

    Fatal error: Uncaught Error: Class ‘W3TCUtil_Environment’ not found in /home/vol10_5/epizy.com/[my site]/htdocs/wp-content/plugins/w3-total-cache/Config.php:109 Stack trace: #0 /home/vol10_5/epizy.com/[my site]/htdocs/wp-content/plugins/w3-total-cache/Dispatcher.php(16): W3TCConfig->__construct() #1 /home/vol10_5/epizy.com/[my site]/htdocs/wp-content/plugins/w3-total-cache/Dispatcher.php(26): W3TCDispatcher::component(‘Config’) #2 /home/vol10_5/epizy.com/[my site]/htdocs/wp-content/plugins/w3-total-cache/Root_Loader.php(19): W3TCDispatcher::config() #3 /home/vol10_5/epizy.com/[my site]/htdocs/wp-content/plugins/w3-total-cache/Root_Loader.php(165): W3TCRoot_Loader->__construct() #4 /home/vol10_5/epizy.com/[my site]/htdocs/wp-content/plugins/w3-total-cache/w3-total-cache.php(67): require_once(‘/home/vol10_5/e…’) #5 /home/vol10_5/epizy.com/[my site]/htdocs/wp-admin/includes/plugin.php(2255): include(‘/home/vol10_5/e…’) #6 /home/vol10_5/epizy.com/[my site]/htdocs/wp-admin/plugins.php(1 in /home/vol10_5/epizy.com/[my site]/htdocs/wp-content/plugins/w3-total-cache/Config.php on line 109

    I did set the permissions on wp-content and wp-content/uploads to 777.

    How do I fix this?

    #30867
    support
    Guest

    Thank you for contacting us.

    I am sorry to hear that there are some problems activating W3 Total Cache on your website and our team is happy to help you get this working.

    One possible explanation for this problem is that the master.php file is missing from your installation which is used to save all of your W3TC settings.  There are a few reasons why that file could be missing and the best way to ensure that you have all of the necessary files to delete W3TC completely and reinstall it through your website’s dashboard.

    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

    If reinstalling the plugin does not work please send us the PHP version of your server, your active theme, and any other plugins you have installed so we can attempt to replicate the problem on our end and find a solution.

    I hope that reinstalling the plugin fixes the issues you are seeing and please let us know if there is anything else that we can do to assist you.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘How to Fix W3 Total Cache “‘Util_Environment’ not found” Error’ is closed to new replies.