Plugin doesn’t work on multisite
-
Hello, this plugin can’t be used on multisite. By the way I found a solution on this file: /cartasi-x-pay/woocommerce-gateway-nexi-xpay.php at line 171, where you check if Wooocommerce is installed. I modified this:
$active_plugins = (array) get_option('active_plugins', array());
with this:
$active_plugins = ( ! WP_ALLOW_MULTISITE ) ? (array) get_option('active_plugins', array()) : (array) get_site_option('active_sitewide_plugins', array());
and all worked.
So I ask you to update your plugin to let users install it on multisite sites too.
Thank you.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Plugin doesn’t work on multisite’ is closed to new replies.