• Resolved jerwalkie

    (@jerwalkie)


    Hello, I am trying to install and try out the GiveWP plugin on my site terracoeli.org, and it’s not working. I cannot activate version 2.24.1 of the GiveWP plugin because it gives fatal 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

    The page I need help with: [log in to see the link]

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

    (@matheusfd)

    Hi, @jerwalkie.

    ​Glad you reached out. I can help you fix the GiveWP plugin.

    We tried real hard to replicate this issue you are facing but when we install GiveWP on a fresh install, it works properly. That error message is essentially saying that there are no gateways saved in your settings, and that is breaking things. Have you ever had GiveWP active before?

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

    Thread Starter jerwalkie

    (@jerwalkie)

    Hi Matheus, thanks so much for the help! No, I have never had GiveWP active before. This happened after a fresh setup of WordPress 6.1.1 on BlueHost. I installed and activated the OceanWP theme. Then I installed all of the OceanWP plugins included with my paid OceanWP account and added the licenses for the ones I wanted to activate. This included the OceanWP demos plugin. I then tried to import the OceanWP demo called “Church”, which required some other plugins including GiveWP, so that’s when I installed and activated it.

    Then, when I tried to navigate to my main dashboard, WordPress displayed a critical error and I wasn’t able to access my dashboard at all anymore. I had to go through a manual process of de-activating all plugins through cPanel’s database editor in order to get back into my dashboard. Then, when I tried activating each plugin one at a time, I saw the error that I pasted above for GiveWP.

    After that, I tried uninstalling GiveWP, downloading the plugin zip directly from your web site, installing it by uploading the zip, and activating it that way. This time instead of showing the error, it just refreshed the plugins page without any error message and did not activate the plugin. When I uninstall GiveWP and reinstall it now via the WordPress search function, it now does the same thing I can’t see the error anymore. It refuses to activate.

    Does this help?

    Hi @jerwalkie,
    Thanks for sending along all those excellent details, they were very helpful. We’ve been running some tests with OceanWP and GiveWP, but haven’t been able to successfully replicate the errors you are seeing. I suspect there is a conflict between one of your paid products/demos and GiveWP.

    We don’t have access to the premium products offered by other companies, and we aren’t able to provide support for paid products here on the Free Forum, and ultimately that’s what we would need to dig any deeper.

    I’d recommend reaching out to the support team over at OceanWP Support. Send them the error codes and all the same great details you’ve shared here so they can give this a look. If they are able to replicate an issue that we can provide a fix for on our end, you can send us an email to let us know on our contact page. In the message, let us know that you are following up on a Free Support ticket and send along any information OceanWP provides. We’ll be able to take it from there!

    I’m marking this as resolved for now, but if you have other questions you can create a new ticket right here and we’ll be happy to give things a look. Have a great day!

    Thread Starter jerwalkie

    (@jerwalkie)

    Strange. Even when I deactivate ALL plugins and switch to a different theme instead of OceanWP, I still get this error when I try to activate GiveWP. This makes me doubt that it’s a problem with OceanWP.

    I’m going to start from scratch and completely reinstall WordPress and install GiveWP as the first thing I do, to see what happens, then if that works, install OceanWP and go from there. I’ll share updates as I go.

    Thread Starter jerwalkie

    (@jerwalkie)

    For whatever reason, this time it worked. After starting over, I installed and activated GiveWP first before installing OceanWP or any of the other stuff. Not sure if that’s why. Anyhow, I’m good now!

    Hi @jerwalkie,
    Very happy to hear that the site is up and running for you, that is great news! If you have any other questions moving forward you can send us a new ticket right here and we’ll be happy to hop in.

    If you are all set, I’d love for you to leave us a public review about what you think of GiveWP and the support you received here in the forum: https://wordpress.org/support/view/plugin-reviews/give

    The reviews help others decide if GiveWP is right for them, and in the world of open source that’s a big deal. Because you’ve had a chance to work with both the plugin and our support team here, we’d love for your voice to be heard.

    Happy Fundraising!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Fatal errors when activating GiveWP 2.24.1’ is closed to new replies.