Support » Plugin: W3 Total Cache » 502 Server Error

  • Resolved ytrewq37


    I’m running a WP website on a google cloud VM using a bitnami installation.
    Using the minimise and CDN functionalities on W3 Total Cache brokes everything and now I’m seeing a simple 502 Server Error.

    I’m not able to access the dashboard to disable the plugin and I’ve not enough experience to do it manually via SSH connection.

    Anyone can help, please?



Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Joe Cartonia


    An HTTP 502 error is a bad gateway. It may be Nginx saying that PHP-FPM is not responding in a timely manner.
    If you have root access or the log files are accessible to your user, then take a peek at the logs in the /opt/bitnami/nginx/logs/ directory.

    If you have SSH access, then you can either deactivate the plugin with WP-CLI or move the plugin’s directory.

    WP-CLI in SSH:
    wp plugin deactivate w3-total-cache

    If you receive some error, then try:
    wp –skip-plugins –skip-themes plugin deactivate w3-total-cache

    Move the plugin’s directory:
    cd ~/public_html/wp-content/plugins; mv w3-total-cache ../

    If you either move the directory or deactivate skip loading plugins, then you may have to delete a couple of files:
    rm -i ~/public_html/wp-content/{advanced,object}-cache.php

    To activate the plugin once again, use the /wp-admin/plugins.php page or use WP-CLI:
    wp plugin activate w3-total-cache

    Plugin Support Marko Vasiljevic


    Hello @ytrewq37,

    I am sorry about the issue you are experiencing.
    Thank you @joemoto for the information provided.
    @ytrewq37 can you please follow the instructions above?
    You can also manually delete the following:
    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
    – in wp-content/plugins/w3-total-cache
    Thank you!

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