• Resolved Baptiste

    (@batt740)


    Hello WooCommerce community,

    I’m encountering an error with the Stripe plugin on my WooCommerce site and I’m hoping someone can help me resolve this issue. The error occurs when trying to connect or save Stripe keys:

    PHP Fatal error:  Uncaught TypeError: array_merge(): Argument #2 must be of type array, bool given in [...]/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php:135
    Stack trace:
    #0 [...]/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php(135): array_merge()
    #1 [...]/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php(87): WC_Stripe_Connect->save_stripe_keys()
    #2 [...]/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php(110): WC_Stripe_Connect->connect_oauth()
    #3 [...]/wp-includes/class-wp-hook.php(324): WC_Stripe_Connect->maybe_handle_redirect()
    #4 [...]/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #5 [...]/wp-includes/plugin.php(517): WP_Hook->do_action()
    #6 [...]/wp-admin/admin.php(175): do_action()
    #7 {main}
    

    This error is preventing me from properly setting up Stripe payments on my site. Here are the details about my environment:

    WordPress Environment

    • WC Version: 9.1.2
    • WordPress Version: 6.6.1
    • WP Multisite: Yes
    • WP Memory Limit: 2 GB
    • WP Debug Mode: Enabled
    • Language: es_ES

    Server Environment

    • Server: nginx/1.18.0
    • PHP Version: 8.2.21
    • MySQL Version: 8.0.37-0ubuntu0.22.04.3
    • Max Upload Size: 10 MB

    Database

    • WC Database Version: 9.1.2
    • Total Database Size: 108.63MB

    I’ve tried deactivating and reactivating the plugin, but the error persists. Has anyone encountered a similar issue or have any suggestions on how to resolve this? Any help would be greatly appreciated!

    Thank you in advance for your assistance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello Baptiste

    Thank you for contacting Woo support.

    This forum is intended for WooCommerce core support.
    I suggest you post this question on the WooCommerce Stripe forum.

    When you post it, please include a complete SSR of your site.
    You can find it via WooCommerce > Status.
    Select Get system report and then Copy for support.

    I hope this helps. ??

    Best regards.

    Thread Starter Baptiste

    (@batt740)

    Hi @doublezed2

    Thanks for your reply, I’ve closed the post and opened one at the proper location.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Seeking Help: Stripe Plugin Error in WooCommerce’ is closed to new replies.