• Resolved Atal123

    (@atal123)


    I am trying to install the GiveWP plugin but each time it shows the same Error.
    Deactivated all other plugins and themes, but still the Error.

    It says:

    Warning: Undefined array key "gateways" in /home/USERNAME/domains/WEBSITE-URL.COM/public_html/wp-content/plugins/give/src/PaymentGateways/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 /home/USERNAME/domains/WEBSITE-URL.COM/public_html/wp-content/plugins/give/src/PaymentGateways/PayPalStandard/Migrations/SetPayPalStandardGatewayId.php:30 Stack trace: #0 /home/USERNAME/domains/WEBSITE-URL.COM/public_html/wp-content/plugins/give/src/PaymentGateways/PayPalStandard/Migrations/SetPayPalStandardGatewayId.php(30): array_key_exists() #1 /home/USERNAME/domains/WEBSITE-URL.COM/public_html/wp-content/plugins/give/src/Framework/Migrations/MigrationsRunner.php(113): Give\PaymentGateways\PayPalStandard\Migrations\SetPayPalStandardGatewayId->run() #2 [internal function]: Give\Framework\Migrations\MigrationsRunner->run() #3 /home/USERNAME/domains/WEBSITE-URL.COM/public_html/wp-content/plugins/give/src/Helpers/Hooks.php(42): call_user_func_array() #4 /home/USERNAME/domains/WEBSITE-URL.COM/public_html/wp-includes/class-wp-hook.php(303): Give\Helpers\Hooks::Give\Helpers\{closure}() #5 /home/USERNAME/domains/WEBSITE-URL.COM/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters() #6 /home/USERNAME/domains/WEBSITE-URL.COM/public_html/wp-includes/plugin.php(470): WP_Hook->do_action() #7 /home/USERNAME/domains/WEBSITE-URL.COM/public_html/wp-content/plugins/give/includes/install.php(112): do_action() #8 /home/USERNAME/domains/WEBSITE-URL.COM/public_html/wp-content/plugins/give/includes/install.php(51): give_run_install() #9 /home/USERNAME/domains/WEBSITE-URL.COM/public_html/wp-content/plugins/give/give.php(423): give_install() #10 /home/USERNAME/domains/WEBSITE-URL.COM/public_html/wp-includes/class-wp-hook.php(303): Give->install() #11 /home/USERNAME/domains/WEBSITE-URL.COM/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters() #12 /home/USERNAME/domains/WEBSITE-URL.COM/public_html/wp-includes/plugin.php(470): WP_Hook->do_action() #13 /home/USERNAME/domains/WEBSITE-URL.COM/public_html/wp-admin/plugins.php(193): do_action() #14 {main} thrown in /home/USERNAME/domains/WEBSITE-URL.COM/public_html/wp-content/plugins/give/src/PaymentGateways/PayPalStandard/Migrations/SetPayPalStandardGatewayId.php on line 30

    before posting here looked like almost everywhere but found nothing which could solve this ??

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Undefined array key “gateways”’ is closed to new replies.