Support » Plugin: W3 Total Cache » Won’t activate – false detection of multisite

  • This plugin gives a fatal error when attempting to activate saying; “Please network activate W3 Total Cache when using WordPress Multisite.”

    The problem is I no longer have WordPress multisite set up, and there is no information on how the plugin detects multisite or how to correct the false detection

    • This topic was modified 1 year, 9 months ago by archrime.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor gidomanders

    (@gidomanders)

    The restrictions on installing/activating a plugin on a multisite WordPress installation are not built in the plugin. It is core WordPress functionality.
    The wrongful detection of being a multisite could be multiple things. Please check if any of these are true:

    * There’s a define(‘MULTISITE’, true); somewhere, most likely in your wp-config.php
    * There’s a define(‘WP_ALLOW_MULTISITE’, true); somewhere, most likely in your wp-config.php
    * There is a file named wpmu-settings.php in your root directory

    Any of the above could be the cause of your problem. Fix them and you’ll probably be able to install and activate the plugin successfully.

    Hi there,

    I also face the same issue. I went through the checklist and did not find anything there.

    any other suggestions?

    Thanks!

    Plugin Contributor gidomanders

    (@gidomanders)

    @antipath maybe you should submit a support request through Performance => Support so we can check your system for any misconfiguration.

    Same problem here, and none of the above solutions worked.
    I am not running a multisite network!

    same here any solution?

    Plugin Contributor gidomanders

    (@gidomanders)

    After creating a multisite locally, I have the following defines in my wp-config.php:

    
    define( 'WP_ALLOW_MULTISITE', true );
    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', true );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'w3edgemultisite.local' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );
    

    When I removed all of the above and reloaded my WP Admin, WordPress told me to repair the database. So I had to add define('WP_ALLOW_REPAIR', true); to my wp-config.php. I did that an reloaded the page again, the database was repaired successfully. I navigated back to the WP Admin and activated the plugin without problems.

    So if you have any of the above defines in your wp-config.php. Or you have database tables named {prefix}{number}{table} where {prefix} is the same as you defined in your wp-config.php (or {number} is part of the prefix), and {number} is a number following an underscore, causing tables to be named similar to wp_1_posts. In that case WordPress might think your website is a multisite installation.

    We do not have any influence on the network activate message. This is something WordPress does itself. If you have any issues, please ask help from a developer or on the core WordPress support forum (https://wordpress.org/support/forum/how-to-and-troubleshooting/), because it is not related to our plugin.

    • This reply was modified 1 year, 2 months ago by gidomanders.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Won’t activate – false detection of multisite’ is closed to new replies.