Can’t enable plugin in subsite
-
Hello,
I am running WordPress multisite and I was able to successfully enable and configure the plugin under the main site. However, when I go to enable it under one of the subsites, it gives me the following error:Warning: Undefined array key “gateways” in /bitnami/wordpress/wp-content/plugins/give/src/PaymentGateways/Gateways/PayPalStandard/Migrations/SetPayPalStandardGatewayId.php on line 27
Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /bitnami/wordpress/wp-content/plugins/give/src/PaymentGateways/Gateways/PayPalStandard/Migrations/SetPayPalStandardGatewayId.php:30 Stack trace: #0 /bitnami/wordpress/wp-content/plugins/give/src/PaymentGateways/Gateways/PayPalStandard/Migrations/SetPayPalStandardGatewayId.php(30): array_key_exists() #1 /bitnami/wordpress/wp-content/plugins/give/src/Framework/Migrations/MigrationsRunner.php(113): Give\PaymentGateways\Gateways\PayPalStandard\Migrations\SetPayPalStandardGatewayId->run() #2 [internal function]: Give\Framework\Migrations\MigrationsRunner->run() #3 /bitnami/wordpress/wp-content/plugins/give/src/Helpers/Hooks.php(43): call_user_func_array() #4 /opt/bitnami/wordpress/wp-includes/class-wp-hook.php(308): Give\Helpers\Hooks::Give\Helpers\{closure}() #5 /opt/bitnami/wordpress/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #6 /opt/bitnami/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action() #7 /bitnami/wordpress/wp-content/plugins/give/includes/install.php(109): do_action() #8 /bitnami/wordpress/wp-content/plugins/give/includes/install.php(49): give_run_install() #9 /bitnami/wordpress/wp-content/plugins/give/give.php(408): give_install() #10 /opt/bitnami/wordpress/wp-includes/class-wp-hook.php(308): Give->install() #11 /opt/bitnami/wordpress/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #12 /opt/bitnami/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action() #13 /opt/bitnami/wordpress/wp-admin/plugins.php(194): do_action() #14 {main} thrown in /bitnami/wordpress/wp-content/plugins/give/src/PaymentGateways/Gateways/PayPalStandard/Migrations/SetPayPalStandardGatewayId.php on line 30
I tried uninstalling all the themes and going back to default. The error still persists. I am running WordPress Multisite 6.2
Any way to help get this going would be appreciated! I like the look of this plugin!
Thank youSandra
- The topic ‘Can’t enable plugin in subsite’ is closed to new replies.