• Resolved ingvenning

    (@ingvenning)


    Whenever I try to visit my site or my administrative account, I see this fatal error:

    Fatal error: Uncaught Error: Class ‘W3TC\Util_Environment’ not found in /home/ingvenni/public_html/wp-content/plugins/w3-total-cache/Config.php:118 Stack trace: #0 /home/ingvenni/public_html/wp-content/plugins/w3-total-cache/Dispatcher.php(16): W3TC\Config->__construct() #1 /home/ingvenni/public_html/wp-content/plugins/w3-total-cache/Dispatcher.php(26): W3TC\Dispatcher::component(‘Config’) #2 /home/ingvenni/public_html/wp-content/plugins/w3-total-cache/Mobile_Redirect.php(16): W3TC\Dispatcher::config() #3 /home/ingvenni/public_html/wp-content/plugins/w3-total-cache/Dispatcher.php(16): W3TC\Mobile_Redirect->__construct() #4 /home/ingvenni/public_html/wp-content/advanced-cache.php(31): W3TC\Dispatcher::component(‘Mobile_Redirect’) #5 /home/ingvenni/public_html/wp-settings.php(97): include(‘/home/ingvenni/…’) #6 /home/ingvenni/public_html/wp-config.php(93): require_once(‘/home/ingvenni/…’) #7 /home/ingvenni/public_html/wp-load.php(37): require_once(‘/home/ingvenni/…’) #8 /home/ingvenni/public_html/wp-blog-header.php(13 in /home/ingvenni/public_html/wp-content/plugins/w3-total-cache/Config.php on line 118

    I don’t understand any of this, but I am seeing “w3-total-cache” in a boldface section near the end. Can anyone help?

    The page I need help with: [log in to see the link]

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

    (@vmarko)

    Hello @ingvenning

    I am sorry about the issue you are experiencing and I am happy to assist you with this.
    It seems that somehow you got stuck in the preview mode in W3TC. possibly conflict with some other plugin.
    Can you please login to CPanel or FTP to your server and completely remove all W3 Total Cache related files:
    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)
    – dbcache.php (if exists)
    – upgrade folder
    – delete w3-total-cache folder in wp-content/plugins/ (if exists)
    3. 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 the 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.

    See if the issue persists. If not you can re-install W3 Total Cache and start with the fresh installation.
    Thanks!

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @ingvenning

    As per this topic https://www.ads-software.com/support/topic/fatal-error-crashing-site-and-admin-access/
    It appears that the issue is resolved.
    Closing this topic.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘fatal error related to w3 cache (I think)’ is closed to new replies.