Title: Warning: Undefined array key &#8220;type&#8221;
Last modified: July 11, 2025

---

# Warning: Undefined array key “type”

 *  Resolved [automotifexpert](https://wordpress.org/support/users/automotifexpert/)
 * (@automotifexpert)
 * [11 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-type-2/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwarning-undefined-array-key-type-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [shahzeen(woo-hc)](https://wordpress.org/support/users/shahzeenfarooq/)
 * (@shahzeenfarooq)
 * [11 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-type-2/#post-18550766)
 * 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/](https://pastebin.com/) or [https://gist.github.com/](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](https://wordpress.org/support/users/automotifexpert/)
 * (@automotifexpert)
 * [11 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-type-2/#post-18551299)
 * 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](https://pastebin.com/2nZ8Fu7C)
 * No fatal error logs in Woo Logs.
 * Thanks!
 *  Plugin Support [shahzeen(woo-hc)](https://wordpress.org/support/users/shahzeenfarooq/)
 * (@shahzeenfarooq)
 * [11 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-type-2/#post-18551573)
 * 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/](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/](https://woocommerce.com/document/how-to-test-for-conflicts/)
 * Let me know how it goes!
 *  [negapo](https://wordpress.org/support/users/negapo/)
 * (@negapo)
 * [11 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-type-2/#post-18553634)
 * 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
 *  [LovingBro (woo-hc)](https://wordpress.org/support/users/lovingbro/)
 * (@lovingbro)
 * [11 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-type-2/#post-18553653)
 * Hi [@negapo](https://wordpress.org/support/users/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](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](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](https://wordpress.org/support/users/wesleyjrosa/)
 * (@wesleyjrosa)
 * [11 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-type-2/#post-18554401)
 * Additionally, our team identified the issue and worked on a fix [here](https://github.com/woocommerce/woocommerce-gateway-stripe/pull/4487).
   It should be available on our next release. You can follow that PR to receive
   updates.
 *  Thread Starter [automotifexpert](https://wordpress.org/support/users/automotifexpert/)
 * (@automotifexpert)
 * [11 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-type-2/#post-18556322)
 * Hello
 * Ok, i will wait for the next release to install it.
 *  Plugin Support [shahzeen(woo-hc)](https://wordpress.org/support/users/shahzeenfarooq/)
 * (@shahzeenfarooq)
 * [11 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-type-2/#post-18556359)
 * 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](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.

 * ![](https://ps.w.org/woocommerce-gateway-stripe/assets/icon-256x256.png?rev=3177277)
 * [WooCommerce Stripe Payment Gateway](https://wordpress.org/plugins/woocommerce-gateway-stripe/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-gateway-stripe/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/reviews/)

 * 8 replies
 * 5 participants
 * Last reply from: [shahzeen(woo-hc)](https://wordpress.org/support/users/shahzeenfarooq/)
 * Last activity: [11 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-type-2/#post-18556359)
 * Status: resolved