I cannot activate version 2.24.1 of the GiveWP plugin because it gives fatal errors, but not exactly the same errors mentioned by the author above. Help! Here’s the errors:
Warning: Undefined array key “gateways” in /home2/thirdsv8/public_html/terracoeli/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 /home2/thirdsv8/public_html/terracoeli/wp-content/plugins/give/src/PaymentGateways/Gateways/PayPalStandard/Migrations/SetPayPalStandardGatewayId.php:30 Stack trace: #0 /home2/thirdsv8/public_html/terracoeli/wp-content/plugins/give/src/PaymentGateways/Gateways/PayPalStandard/Migrations/SetPayPalStandardGatewayId.php(30): array_key_exists(‘paypal-standard’, NULL) #1 /home2/thirdsv8/public_html/terracoeli/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 /home2/thirdsv8/public_html/terracoeli/wp-content/plugins/give/src/Helpers/Hooks.php(43): call_user_func_array(Array, Array) #4 /home2/thirdsv8/public_html/terracoeli/wp-includes/class-wp-hook.php(308): Give\Helpers\Hooks::Give\Helpers\{closure}(”) #5 /home2/thirdsv8/public_html/terracoeli/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #6 /home2/thirdsv8/public_html/terracoeli/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #7 /home2/thirdsv8/public_html/terracoeli/wp-content/plugins/give/includes/install.php(109): do_action(‘give_upgrades’) #8 /home2/thirdsv8/public_html/terracoeli/wp-content/plugins/give/includes/install.php(49): give_run_install() #9 /home2/thirdsv8/public_html/terracoeli/wp-content/plugins/give/give.php(403): give_install() #10 /home2/thirdsv8/public_html/terracoeli/wp-includes/class-wp-hook.php(308): Give->install(”) #11 /home2/thirdsv8/public_html/terracoeli/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #12 /home2/thirdsv8/public_html/terracoeli/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #13 /home2/thirdsv8/public_html/terracoeli/wp-admin/plugins.php(194): do_action(‘activate_give/g…’) #14 {main} thrown in /home2/thirdsv8/public_html/terracoeli/wp-content/plugins/give/src/PaymentGateways/Gateways/PayPalStandard/Migrations/SetPayPalStandardGatewayId.php on line 30