Adding New Site Throwing Error
-
Adding a new site is throwing the following error:
“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;
}
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Adding New Site Throwing Error’ is closed to new replies.