Hi, @tiotrom.
Glad you reached out. I can help you with that.
Typically, this error means some broken code is causing your site to crash. It is a WordPress system-generated message that means something has caused a PHP fatal error. Whenever you see that message, a more detailed error log has been sent to the main admin email address (which you can configure at Settings > General in the main WordPress settings).
Check that email, and then pass along any error messages you are receiving so we can help. Every time you see that error, it sends another email. If you need to, you can trigger a new email to be able to see the error message again.
If you don’t see that error in your email (WordPress emails are notoriously unreliable that way), you’ll need to ask your host for the error logs. They will be able to send you a complete record of the errors on your site. Once they provide you with this file, send it to us, and we will be able to identify the issue and move toward a resolution for you.
Your success with online donations is our number one priority. Looking forward to helping you get to the bottom of this!
Hi, @tiotrom.
It’s been a while since we’ve heard back, and I know troubleshooting needs a little extra time. I’m marking this as resolved for now, but if you still have questions, you can send them along right here, and I’ll be happy to hop back in.
Have a great day!
I am very sorry I lost track of this issue. This is the output error:
Fatal error: Uncaught TypeError: array_keys(): Argument #1 ($array) must be of type array, null given in /var/www/wordpress__10/wp-content/plugins/give/vendor/stripe/stripe-php/lib/StripeObject.php:279 Stack trace: #0 /var/www/wordpress__10/wp-content/plugins/give/vendor/stripe/stripe-php/lib/StripeObject.php(279): array_keys() #1 /var/www/wordpress__10/wp-content/plugins/give/vendor/stripe/stripe-php/lib/StripeObject.php(251): Stripe\StripeObject->refreshFrom() #2 /var/www/wordpress__10/wp-content/plugins/give/includes/gateways/stripe/includes/class-give-stripe-webhooks.php(80): Stripe\StripeObject::constructFrom() #3 /var/www/wordpress__10/wp-includes/class-wp-hook.php(310): Give_Stripe_Webhooks->listen() #4 /var/www/wordpress__10/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #5 /var/www/wordpress__10/wp-includes/plugin.php(517): WP_Hook->do_action() #6 /var/www/wordpress__10/wp-settings.php(632): do_action() #7 /var/www/wordpress__10/wp-config.php(81): require_once('...') #8 /var/www/wordpress__10/wp-load.php(50): require_once('...') #9 /var/www/wordpress__10/wp-blog-header.php(13): require_once('...') #10 /var/www/wordpress__10/index.php(17): require('...') #11 {main} thrown in /var/www/wordpress__10/wp-content/plugins/give/vendor/stripe/stripe-php/lib/StripeObject.php on line 279
This is what I see on that line: $removed = new Util\Set(\array_diff(\array_keys($this->_values), \array_keys($values)));
I will be very alert now and enabled notifications. Your help is much appreciated. I really want to fix this somehow….but as said the donations still go through and appear on the website….
-
This reply was modified 2 years, 1 month ago by
tiotrom.
Hi there.
How did you connect Stripe on your site? Are using PHP 7.4, 8.0 or 8.2 (or other)?
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.
Hi,
I am in touch with your team about this issue via my purchasing account. If we find a fix I should post about it here for others to see.