Posted: July 6, 2023 at 10:12 am
Hello, Our site is getting an error “This registration step could not be completed. Please refresh the page and try again.” To try to narrow down what is causing the error I turned on the debug log to see where it errors. PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, EE_Stripe_6_35_1\Util\CaseInsensitiveArray given in /var/www/wp-content/plugins/eea-stripe-gateway/includes/stripe-php-6.35.1/lib/ApiRequestor.php:402 |
|
Hi Brian, A couple questions: 1) The most likely cause is caching. I see you are using caching: https://www.screencast.com/t/n0G8cVdaUGBx, https://eventespresso.com/wiki/setup-nocache-exclusion-rules-event-espresso/ What is the date of that error? 2) What version of Event Espresso are you using? |
|
Thanks for your reply, Garth. 1) we are able to replicate the error every time we register for an event, so the latest date this error occurred was yesterday, 7/6/2023 2) we are using version 4.10.43 of Event Espresso and 1.1.8 of the Stripe add-on 3) we are also using a plugin called Accept Stripe Payments, though I’m not sure if that’s doing anything. We inherited this site from another developer. Not sure if this helps give you insight on anything, but we are also using a temporary domain as this is a dev site at the moment. |
|
Hi there, Which version of PHP is running on the server? |
|
We are using PHP 8.0 |
|
Has your host recently updated to PHP8?
Can you update to the latest version of the Stripe add-on (currently v1.1.12.p) and see if you get the same issue? I did find a report of this on the Stripe PHP library repo but I wanted to try and reproduce it on the version we use to narrow it down some, so far I’ve been unable to.
The error you are getting specifically lists our namespaced EE Stripe library so I don’t think its a conflict with another plugin, although you could try temporarily disabling that plugin and see if it makes a difference. |
|
The support post ‘This registration step could not be completed’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.