Plugin won’t activate on multisite
-
I have a similar problem as described here.
In my case its on a multisite installation, and I get the error when activating the plugin, wether I do a network activate or a activation locally.
Commenting the line described in the topic earlier does activate the plugin, and it does work then, but it keeps giving me the notification that WooCommerce isn’t installed. The “Not allowed” message also still appears when activating. Also that isn’t really a solution since I would have to comment that line every time the plugin gets updated.
[edit]
To have the plugin activate properly on multisite installations, I think line 140 should be replaced with:include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); if ( !is_plugin_active( 'woocommerce/woocommerce.php') ) {
as described here.
I haven’t tested it with singlesite installation though. Also this doesn’t solve the “Sorry, you are not allowed to access this page.” message.
- The topic ‘Plugin won’t activate on multisite’ is closed to new replies.