Support » Plugin: W3 Total Cache » W3 Total Cache has crashed my site totally

  • W3 Total Cache – I installed this plugin and when I activated it it crashed the site and I cannot recover it

    Fatal error: Call to undefined method stdClass::set_prefix() in \\nas44ent\Domains\l\\user\htdocs\wp-includes\load.php on line 337

    This seems to be across all pages, so any tips on how I get my site back?

Viewing 9 replies - 1 through 9 (of 9 total)
  • I have the same problem too. Just upgraded W3 Total Cache.

    I used FTP and deleted the directory “w3-total-cache” from the plugins and the site works. However, I still can’t login to the backend.

    When I try I get an error:
    W3 Total Cache Error: some files appear to be missing or out of place. Please re-install plugin or remove /var/www/html/

    I deleted the advanced-cache.php, but the site crashed again. So I put it back in.

    My site is running, but I’m locked out from the admin.

    Thanks for your advice Steve. As I am a total non-techie, I’m not very confident of being able to get my site back up and running like you have, but I will give it a go!


    It may be helpful to be aware that W3TC adds many directories and also rules to .htaccess.

    This post may be helpful, as it lists the directories created by W3TC:

    Also, the procedure at the end of this page may be helpful:

    (In this case, keeping W3TC disabled at steps 8 and/or 12.)

    Plugin Author Frederick Townes


    Anyone still having related issues should please submit a bug submission form from the support tab of the plugin.

    Just about to submit a bug report with my details; (came here to grab the forum link)

    I’ve moved up the food chain to 3.3.1 and 9.2.5a and my problems have gone away

    I need help. I disactivated W3TC and it crashed my site. I have followed all the steps from the forums and nothing has worked. I keep getting this message.

    //Added by WP-Cache Manager // Added by W3 Total Cache /** * The base configurations of the WordPress. * * This file has the following configurations: MySQL settings, Table Prefix, * Secret Keys, WordPress Language, and ABSPATH. You can find more information * by visiting {@link Editing * wp-config.php} Codex page. You can get the MySQL settings from your web host. * * This file is used by the wp-config.php creation script during the * installation. You don’t have to use the web site, you can just copy this file * to “wp-config.php” and fill in the values. * * @package WordPress */ // ** MySQL settings – You can get this info from your web host ** // /** The name of the database for WordPress */ define(‘DB_NAME’, ‘wrd_4d2jmm5g7a’); /** MySQL database username */ define(‘DB_USER’, ‘wrdoO1DouBD’); /** MySQL database password */ define(‘DB_PASSWORD’, ‘nj3qo5Ancm’); /** MySQL hostname */ define(‘DB_HOST’, ‘’); /** Database Charset to use in creating database tables. */ define(‘DB_CHARSET’, ‘utf8’); /** The Database Collate type. Don’t change this if in doubt. */ define(‘DB_COLLATE’, ”); /**#@+ * Authentication Unique Keys and Salts. * * Change these to different unique phrases! * You can generate these using the {@link secret-key service} * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again. * * @since 2.6.0 */ define(‘AUTH_KEY’, ‘AXUrRym0DmX2EB3byHCesL2mbKARHtZJ2t508BLe6FcWPdeahFTS4aQg2bDGd3ng’); define(‘SECURE_AUTH_KEY’, ‘gj5bETg1THkJwzdyisTwZurSRWoi71TLAi3nkxS35vuSaUMhiVczgjMV39G91Ulo’); define(‘LOGGED_IN_KEY’, ‘cZMyQpG14Qx37HwPtNIUZ1wadsJfnUN7OcA1ee0tPrc13ivkpvpzVon4WdHOPzhg’); define(‘NONCE_KEY’, ‘1jUf3Xjof10le2VVtmSX4JSYobq3Kd4W1hkbgB7E75W0wq9dT5pq7g2IMUahVmx9’); define(‘AUTH_SALT’, ‘ZwWwAvAep3U53X4eEmKXProgehoZzaGMz9tbvwXqDbzpBgijBjm91XAm5t1o82k0’); define(‘SECURE_AUTH_SALT’, ‘IDPewOdewP96JC0K26gIahPvLvSdaND37qtjMeB44sEkK58kQ04xre7jLtzldBh6’); define(‘LOGGED_IN_SALT’, ‘i4urU0Ewe9qtrjgSCJI0Orxo5uTnVUCtPwcy11a6Sk5h4v4WieEhqHid7n2Hd469’); define(‘NONCE_SALT’, ‘gyG6PlpPf7dKj7W9VMM3eW9zGMnFuXRWy4DjZyv1zq9P5a0JpYNVhJ1QDpFIZJvJ’); /**#@-*/ /** * WordPress Database Table prefix. * * You can have multiple installations in one database if you give each a unique * prefix. Only numbers, letters, and underscores please! */ $table_prefix = ‘wp_’; /** * WordPress Localized Language, defaults to English. * * Change this to localize WordPress. A corresponding MO file for the chosen * language must be installed to wp-content/languages. For example, install * to wp-content/languages and set WPLANG to ‘de_DE’ to enable German * language support. */ define(‘WPLANG’, ”); /** * For developers: WordPress debugging mode. * * Change this to true to enable the display of notices during development. * It is strongly recommended that plugin and theme developers use WP_DEBUG * in their development environments. */ define(‘WP_DEBUG’, false); /* That’s all, stop editing! Happy blogging. */ /** Absolute path to the WordPress directory. */ if ( !defined(‘ABSPATH’) ) define(‘ABSPATH’, dirname(__FILE__) . ‘/’); /** Sets up WordPress vars and included files. */ require_once(ABSPATH . ‘wp-settings.php’);
    Fatal error: Call to undefined function get_option() in /hermes/bosweb/web104/b1046/ipg.sportsgirlsandmoreco/wp-admin/admin.php on line 32

    hello IMcDonald, so this plugin works okay with WP 3.3.1? it says it’s not compatible … i’m on WP 2.92 and thought it should be compatible, but when i downloaded and tried to activate yesterday … all bad. my WP dashboard vanished, and i simply got error messages there … i REALLY want to use this plug in –

    Plugin Author Frederick Townes


    To properly remove W3TC, open wp-config and delete the lines:

    /** Enable W3 Total Cache */
    define('WP_CACHE', true); // Added by W3 Total Cache

    Open .htaccess and remove all lines between and including:

    # BEGIN W3TC ...
    # END W3TC

    Then delete:

    advanced-cache.php, objectcache.php, db.php from wp-content
    delete w3-total-cache folder in wp-content/plugins

    @niska: You have remove the <?php at the top of wp-config.php

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘W3 Total Cache has crashed my site totally’ is closed to new replies.