Title: Undefined array key error
Last modified: April 18, 2024

---

# Undefined array key error

 *  Resolved [wanfeel](https://wordpress.org/support/users/wanfeel/)
 * (@wanfeel)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/undefined-array-key-error-7/)
 * Hi, This error appears when the customer returns to the shop after making a purchase.
   How can I fix it?
 * `**Warning**: Undefined array key 0 in **/home/c0837757/public_html/wanfeel.info/
   wp-content/plugins/woocommerce-payments/vendor/automattic/jetpack-sync/src/modules/
   class-woocommerce-hpos-orders.php** on line **204**`

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

 *  Thread Starter [wanfeel](https://wordpress.org/support/users/wanfeel/)
 * (@wanfeel)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/undefined-array-key-error-7/#post-17697952)
 * I solved another problem myself the other day, and this time I solved it myself:)
   I removed WooPayments and it no longer causes errors.
 * 先日別の問題を自分で解決しましたが、今回も自分で解決しました:) WooPayments を
   削除したところ、エラーは発生しなくなりました。
 * 拡張機能でPayPalを導入しようとしたところ、WooPaymentsが同時にインストールされ
   ました。試しに無効化してみたところエラーを起こさなくなりました。
 *  [carolm29 (woo-hc)](https://wordpress.org/support/users/carolm29/)
 * (@carolm29)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/undefined-array-key-error-7/#post-17700187)
 * Hey, [@wanfeel](https://wordpress.org/support/users/wanfeel/)!
 * I’m glad you were able to figure out what was causing the issue.
 * But please note that WooPayments should not cause issues with the PayPal plugin.
 * We can help you investigate what exactly caused this so you can use both plugins.
 * If you want to keep investigating, please open a thread on WooPayments support
   forum **[here ](https://wordpress.org/support/plugin/woocommerce-payments/)**
   and include the link to this thread. We will be happy to help you 😃
 * Have a wonderful day!

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

The topic ‘Undefined array key error’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [carolm29 (woo-hc)](https://wordpress.org/support/users/carolm29/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/undefined-array-key-error-7/#post-17700187)
 * Status: resolved