• Resolved mstobinski

    (@mstobinski)


    I updated the plugin from ver 0.13.1 to 0.13.2 and now this error displays in the admin area:

    Fatal error: Uncaught Error: Class ‘W3TC\LazyLoad_Plugin_Admin’ not found in /home/wp-newsite/web/blog/wp-content/plugins/w3-total-cache/Root_Loader.php:49 Stack trace: #0 /home/wp-newsite/web/blog/wp-content/plugins/w3-total-cache/Root_Loader.php(165): W3TC\Root_Loader->__construct() #1 /home/wp-newsite/web/blog/wp-content/plugins/w3-total-cache/w3-total-cache.php(67): require_once(‘/home/wp-newsit…’) #2 /home/wp-newsite/web/blog/wp-settings.php(360): include_once(‘/home/wp-newsit…’) #3 /home/wp-newsite/web/blog/wp-config.php(96): require_once(‘/home/wp-newsit…’) #4 /home/wp-newsite/web/blog/wp-load.php(37): require_once(‘/home/wp-newsit…’) #5 /home/wp-newsite/web/blog/wp-admin/admin.php(34): require_once(‘/home/wp-newsit…’) #6 /home/wp-newsite/web/blog/wp-admin/index.php(10): require_once(‘/home/wp-newsit…’) #7 {main} thrown in /home/wp-newsite/web/blog/wp-content/plugins/w3-total-cache/Root_Loader.php on line 49

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

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

    (@vmarko)

    Hello @mstobinski

    I am sorry about the issue you are experiencing and I am happy to assist you with this.
    There is a possibility that some files got broken after the update.
    Can you please completely remove W3 Total Cache and re-install it:
    1. Purge Cache
    2. Deactivate and Delete Plugin
    3. Check .htaccess File (make backup)
    W3TC will create many directives in the .htaccess file to control 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 leftover 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)
    – dbcache.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 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.
    6. Go to your wp dashboard and re-install W3 Total Cache
    Thank you!

    I’m had this same issue upon upgrading from 0.13.1 to 0.13.2. I’ve tried the above steps. Upon trying to re-activate the plugin, I get the following fatal error:

    Fatal error: Class 'W3TC\LazyLoad_Plugin_Admin' not found in /var/www/html/wp-content/plugins/w3-total-cache/Root_Loader.php on line 49

    I tried to activate the plugin from wp-cli, and the whole site goes down with a 500 error.

    • This reply was modified 4 years, 7 months ago by jakeparis.
    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @jakeparis

    Have you deleted everything as stated above including all folders and removing the .htaccess rules if exist?
    Thanks!

    Yes, I deleted all the folders/files as stated above, and I removed all the #w3tc .htaccess blocks. Noting also that this site is hosted on AWS and php5x if that makes any difference.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @jakeparis

    The 500 error suggests that there is a conflict of some sort. Enabling wp debug may show you where the issue comes from when it occurs.
    I can only suggest that you again completely remove everything related to W3 Total Cache and performs a clean install. Try downloading a zip from here and install it manually.
    Thanks!

    Thank you for your help. We believe the issue was due to aggressive php caching on the server. We cleared the opcache and the issue was resolved.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @jakeparis

    Gload to know your issue is resolved!

    Hi @vmarko
    I have the same error described by mstobinski, but it appears when I log in. Then I haven′t access to do the 5 steps that you describe.
    How can I do to access? Fortunately I backuped the page before upgrade W3TC. So, if I access I’ll be able to resteore it.
    Caould you help me, please?
    Thanks in advance.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Fatal error: Uncaught Error: Class ‘W3TC\LazyLoad_Plugin_Admin’ not found’ is closed to new replies.