• Resolved Craig Younkins

    (@geeklifepodcast)


    [23-Jan-2025 22:42:23 UTC] PHP Fatal error: Uncaught Error: Class "W3TC\Config" not found in /bitnami/wordpress/wp-content/plugins/w3-total-cache/w3-total-cache-api.php:587

    Stack trace:

    #0 /bitnami/wordpress/wp-content/advanced-cache.php(33): require_once()

    #1 /opt/bitnami/wordpress/wp-settings.php(98): include('...')

    #2 /bitnami/wordpress/wp-config.php(114): require_once('...')

    #3 /opt/bitnami/wordpress/wp-load.php(50): require_once('...')

    #4 /opt/bitnami/wordpress/wp-blog-header.php(13): require_once('...')

    #5 /opt/bitnami/wordpress/index.php(17): require('...')

    #6 {main}

    thrown in /bitnami/wordpress/wp-content/plugins/w3-total-cache/w3-total-cache-api.php on line 587

    I believe this was an auto-update. I had to delete plugins/w3-total-cache/ to recover.

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

    (@vmarko)

    Hello @geeklifepodcast

    Thank you for reaching out and I am happy to help!

    It seems like the updte did not go through and some files may be missing
    Can you please make a backup of the wp-content/w3tc-config/master.php file or export the settings via the plugin, and delete the following:

    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)

    Go to your wp dashboard and re-install W3 Total Cache and bring back the backup master.php file or import the settings via the plugin

    Let me know if this helps!

    Thanks!

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.