PHP Error when connecting to Stripe account
-
After clicking on the connect or create an account button, and signing in with my Stripe account, I get a critical error. Here is the stack trace:
TypeError:
array_merge(): Argument #2 must be of type array, bool given
at /home/[redacted]/public_html/app/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php:135
at array_merge()
(/home/[redacted]/public_html/app/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php:135)
at WC_Stripe_Connect->save_stripe_keys()
(/home/[redacted]/public_html/app/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php:87)
at WC_Stripe_Connect->connect_oauth()
(/home/[redacted]/public_html/app/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php:110)
at WC_Stripe_Connect->maybe_handle_redirect()
(/home/[redacted]/public_html/wp/wp-includes/class-wp-hook.php:324)
at WP_Hook->apply_filters()
(/home/[redacted]/public_html/wp/wp-includes/class-wp-hook.php:348)
at WP_Hook->do_action()
(/home/[redacted]/public_html/wp/wp-includes/plugin.php:517)
at do_action()
(/home/[redacted]/public_html/wp/wp-admin/admin.php:175)I have tried with both PHP 8.1 and 8.2, I can’t go any lower since my theme requires >= 8.1.
I am using the latest version of the plugin (8.4.0).
The page I need help with: [log in to see the link]
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- You must be logged in to reply to this topic.