• Resolved automotifexpert

    (@automotifexpert)


    Warning: Undefined array key “type” in /home/kitsigur/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-express-checkout-element.php on line 420

    Hello

    After last update to 9.6.0 the above error has appeared on the checkout page.

    I reverted back to 9.5.3 and the error message disapeared.

    Maybe you need to check about it. Thanks!

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there,

    Thanks for sharing the details.

    I’ve tried to replicate the issue on my test site using the same plugin version, but I’m not able to reproduce the warning — everything is appearing as expected on my end.

    Since the issue isn’t occurring consistently across all setups, it might be related to specific settings, theme or plugin conflicts, or a particular server environment.

    To assist you further, I’d like to understand your site properly. Please share with us the necessary information below for us to investigate the issue further:

    • System Status Report which you can find via WooCommerce > Status
    • Fatal error logs (if any) under WooCommerce > Status > Logs.

    Please use https://pastebin.com/ or https://gist.github.com/ and share a link to that paste in reply here. Once we have more information, we’ll be able to assist you further.

    Thread Starter automotifexpert

    (@automotifexpert)

    Hello

    Yes, it is true what you say, but the previous version is working fine with my setup.

    system status report: https://pastebin.com/2nZ8Fu7C

    No fatal error logs in Woo Logs.

    Thanks!

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Thank you for sharing the System Status Report. I’ve reviewed it, and everything appears to be in order. However, I noticed that you have quite a few plugins installed on your site. It’s possible that one of them may be conflicting with the latest version of the Stripe Gateway plugin. Also, it seems like you have downgraded the Stripe Gateway plugin to an older version.

    To determine whether a plugin conflict is causing the issue, please create a staging site. You can use the following plugin to easily set one up:
    🔗 https://wordpress.org/plugins/wp-staging/

    Once the staging site is ready, please follow the instructions in this guide to perform a proper conflict test:
    🔗 https://woocommerce.com/document/how-to-test-for-conflicts/

    Let me know how it goes!

    Hi, we have the same exact problem, on our logs, several error lines:

    PHP Warning: Undefined array key “type” in /home/customer/www/XXXX/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-express-checkout-element.php on line 420

    Plugin Support LovingBro (woo-hc)

    (@lovingbro)

    Hi @negapo,

    I understand how frustrating it is to run into that warning, especially when it appears after an update and disrupts your checkout experience. Thank you for jumping in to share what you’re seeing.

    That said, since each site setup can be quite different, including themes, plugin combinations, and server environments, it’s best we look into your case individually. Per the forum best practices and guidelines, we recommend creating a new thread so we can properly investigate and assist with your specific setup: https://wordpress.org/support/forum-user-guide/faq/#:~:text=get%20individual%20help.-,I%20have%20the%20same%20problem,-!%20Can%20I%20just.

    You can start a new thread for your issue here: https://wordpress.org/support/plugin/woocommerce-gateway-stripe/#new-post

    We’ll be glad to take a closer look once you do!

    Plugin Author Wesley Rosa

    (@wesleyjrosa)

    Additionally, our team identified the issue and worked on a fix here. It should be available on our next release. You can follow that PR to receive updates.

    Thread Starter automotifexpert

    (@automotifexpert)

    Hello

    Ok, i will wait for the next release to install it.

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Thank you for your patience!

    If you’re enjoying our plugin, we’d truly appreciate it if you could share your positive experience by leaving a 5-star review on WordPress.org:
    ⭐⭐⭐⭐⭐ https://wordpress.org/support/plugin/woocommerce-gateway-stripe/reviews/#new-post

    Your support helps us continue improving the plugin and assisting more users like you.

    Let us know if you need anything else in the meantime!

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Warning: Undefined array key “type”’ is closed to new replies.