• Resolved skoehler253

    (@skoehler253)


    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 you

    Sandra

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Sandra,

    Glad you reached out. I’d like to do a little digging here, could you send along your system information? You can do this by navigating to Donations > Tools > System Info (tab) and clicking the button to “Get System Report” and copy/paste that into your reply here. That should give me some additional context to work from.

    Keep me posted if you have any questions in the meantime.

    Hi @skoehler253,
    It’s been a bit since I’ve heard back, and I know troubleshooting can need a little extra time. I’m marking this as resolved for now, but if you still have questions you can send them along here and I’ll be happy to hop back in. Have a great day!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can’t enable plugin in subsite’ is closed to new replies.