Actually I am trying to setup PayPlans on my page. During testing the payment method "Stripe" I came across the following error:
Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array
After some research I were able to locate the error in the following file:
/plugins/payplans/stripe/app/scaLib/Stripe/ApiRequestor.php:402
Thanks to some google results I came across the following bug description which sounded similiar:
https://github.com/impress-org/givewp/issues/5873https://github.com/impress-org/givewp/issues/5873
I tried switching my webspace to PHP 7.4 and Boom everything was working fine. When I switch back to PHP 8.0 (which I would prefer) it again leads to the error.
This error only appears when you switch on SCA and have PHP 8.0 active.
I really would like to use PHP 8.0 and above. Is there a workaround for this or can you fix this error?