Support » Plugin: GiveWP - Donation Plugin and Fundraising Platform » Fatal error when activating plugin

  • Resolved magwab

    (@magwab)


    Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /home/magwabco/public_html/thearkinstitutes.com/wp-content/plugins/give/src/PaymentGateways/PayPalStandard/Migrations/SetPayPalStandardGatewayId.php:28 Stack trace: #0 /home/magwabco/public_html/thearkinstitutes.com/wp-content/plugins/give/src/PaymentGateways/PayPalStandard/Migrations/SetPayPalStandardGatewayId.php(28): array_key_exists() #1 /home/magwabco/public_html/thearkinstitutes.com/wp-content/plugins/give/src/Framework/Migrations/MigrationsRunner.php(109): Give\PaymentGateways\PayPalStandard\Migrations\SetPayPalStandardGatewayId->run() #2 [internal function]: Give\Framework\Migrations\MigrationsRunner->run() #3 /home/magwabco/public_html/thearkinstitutes.com/wp-content/plugins/give/src/Helpers/Hooks.php(37): call_user_func_array() #4 /home/magwabco/public_html/thearkinstitutes.com/wp-includes/class-wp-hook.php(292): Give\Helpers\Hooks::Give\Helpers\{closure}() #5 /home/magwabco/public_html/thearkinstitutes.com/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters() #6 /home/magwabco/public_html/thearkinstitutes.com/wp-includes/plugin.php(484): WP_Hook->do_action() #7 /home/magwabco/public_html/thearkinstitutes.com/wp-content/plugins/give/includes/install.php(111): do_action() #8 /home/magwabco/public_html/thearkinstitutes.com/wp-content/plugins/give/includes/install.php(50): give_run_install() #9 /home/magwabco/public_html/thearkinstitutes.com/wp-content/plugins/give/give.php(407): give_install() #10 /home/magwabco/public_html/thearkinstitutes.com/wp-includes/class-wp-hook.php(292): Give->install() #11 /home/magwabco/public_html/thearkinstitutes.com/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters() #12 /home/magwabco/public_html/thearkinstitutes.com/wp-includes/plugin.php(484): WP_Hook->do_action() #13 /home/magwabco/public_html/thearkinstitutes.com/wp-admin/plugins.php(193): do_action() #14 {main} thrown in /home/magwabco/public_html/thearkinstitutes.com/wp-content/plugins/give/src/PaymentGateways/PayPalStandard/Migrations/SetPayPalStandardGatewayId.php on line 28

    Kindly assist

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Matheus Martins

    (@matheusfd)

    Hey @magwab,

    ​Glad you reached out. I can help you with that.

    In order to better support you, I’ll need to collect some more details about what you did.

    Please describe your problem in the following ways:
    1. What were you doing when you encountered the problem?
    2. What were you expecting to see happen?
    3. What happened instead.

    Are you trying to add GiveWP on a fresh install? Or were you adding GiveWP to your live site? Did you already have GiveWP on it?

    ​Also, please send along your System Info.

    Navigate to Donations –> Tools –> System Info (tab) and click the button to “Get System Report” and copy/paste that in your reply here.

    That will give me some more context to be able to help.

    Thread Starter magwab

    (@magwab)

    Thanks

    The error pops up when activating the plugin,

    Expecting to see the plugin active.

    Instead of activating the plugin it gave me the fatal error.

    Added GiveWP for the first time and wasn’t able to activate it.

    Not able to get system info as the plugin is currently not activated

    Thread Starter magwab

    (@magwab)

    @matheusfd

    Any way forward?

    Plugin Support Matheus Martins

    (@matheusfd)

    Hey @magwab,

    It looks like there is some kind of conflict going on, because I’ve tried to replicate the issue on a fresh install and I couldn’t.

    In this case, I suggest you follow our troubleshooting tutorials using Health Check. It allows you to isolate plugins and change themes for administrator, while the frontend still runs the live version of the website. You can see the documentation here:
    https://givewp.com/documentation/resources/troubleshoot-wordpress-websites-health-check/
    https://givewp.com/documentation/resources/how-to-troubleshoot-your-website-like-a-wordpress-support-engineer/

    Looking forward to helping you get to the bottom of this!

    Plugin Support Matheus Martins

    (@matheusfd)

    Hey @magwab,

    Do you still need assistance here? Feel free to reopen this ticket if you need further assistance and we’ll happily help you.

    Thanks for using GiveWP! Have a great day.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.