• 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)
  • Plugin Author Nexi Payments

    (@cartasi)

    Dear pierpaoloercoli,
    Thanks for your information, we share it with our developers.

    Best regards

    Perhaps a similar issue:
    When activating the plugin on a multisite installation (WP v5.5.1) I get the following error output:
    Uncaught Error: Call to undefined function is_plugin_active_for_network() in wp-content/plugins/cartasi-x-pay/woocommerce-gateway-nexi-xpay.php:192
    The issue only occurs when activating or deactivating the plugin. When I comment out the is_plugin_active_for_network function the activation proceeds as normal, however when I go to the plugin settings page I get a notification saying WooCommerce is not installed, while WooCommerce is in fact installed.

    • This reply was modified 4 years, 5 months ago by vfreriks.
    • This reply was modified 4 years, 5 months ago by vfreriks.
    Plugin Author Nexi Payments

    (@cartasi)

    Dear vfreriks,
    please contact us at [email protected], in order to carry out more detailed checks.
    Best regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugin doesn’t work on multisite’ is closed to new replies.