• Resolved borja250

    (@borja250)


    Hello.
    After installing the plugin when trying to connect with stripe I give me this error in the final step:

    Error Details

    An error of type E_ERROR was caused in line 135 of the file /domain.com/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php. Error message: Uncaught TypeError: array_merge(): Argument #2 must be of type array, false given in /domain.com/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php:135
    Stack trace: 0 /domain.com/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php(135): array_merge(Array, false) 1 /domain.com/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php(87): WC_Stripe_Connect->save_stripe_keys(Object(stdClass)) 2 /domain.com/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php(110): WC_Stripe_Connect->connect_oauth(‘1859ae94fb38ba4…’, ‘5e4aa75bd45ee6c…’) 3 /domain.com/wp-includes/class-wp-hook.php(324): WC_Stripe_Connect->maybe_handle_redirect(”) 4 /domain.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) 5 /domain.com/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 6 /domain.com/wp-admin/admin.php(175): do_action(‘admin_init’) 7 {main}

      thrown

    WordPress version 6.5.5
    Active theme: Flatsome Child (version 3.0)
    Current plugin: WooCommerce Stripe Gateway (version 8.4.0)
    PHP version 8.3.8

    Thank you.
    All the best.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Rajesh K. (woo-hc)

    (@rajeshml)

    Hello @borja250,

    This kind of problem is usually caused by a conflict with your theme or with another plugin. The best way to determine this is to:

    • Temporarily switch your theme to Storefront or Twenty Twenty-Four
    • Disable all plugins except for WooCommerce and WooCommerce Stripe Gateway
    • Repeat the action that is causing the problem.

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated.

    To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation of how to do a conflict test here.

    I hope that helps! Let me know once you have done a conflict test!

    Plugin Support Rajesh K. (woo-hc)

    (@rajeshml)

    Hello @borja250,

    We haven’t heard from you in a while, so I’m going to mark this as resolved. Feel free to?start a new thread?if you have any more questions.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Installation error’ is closed to new replies.