• Adding a new site is throwing the following error on a non subdomain multisite installation:

    “Please network activate W3 Total Cache when using WordPress Multisite.”

    Its coming from Root_AdminActivation.php and caused by some code that was removed at some point. Changing the code to the following resolves the issue:

    if ( ! function_exists( ‘is_plugin_active_for_network’ ) )
    require_once( ABSPATH . ‘/wp-admin/includes/plugin.php’ );

    if ( ! is_plugin_active_for_network( ‘w3-total-cache/w3-total-cache.php’ ) ) {
    echo ‘Please network activate W3 Total Cache when using WordPress Multisite.’;
    die;
    }

    I reported this previously but it was not addressed: https://ww.wp.xz.cn/support/topic/adding-new-site-throwing-error/

The topic ‘Adding New Site Throwing Error’ is closed to new replies.