Title: Undefined array key
Last modified: April 10, 2024

---

# Undefined array key

 *  Resolved [lisaxdfsjh](https://wordpress.org/support/users/lisaxdfsjh/)
 * (@lisaxdfsjh)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/undefined-array-key-47/)
 * Hi,
 * on the order confirmation page, I’m receiving the following error message: 
   **
   Warning: Undefined array key 0 in /home/.sites/37/site2738444/web/wp-content/
   plugins/woocommerce-payments/vendor/automattic/jetpack-sync/src/modules/class-
   woocommerce-hpos-orders.php on line 204**
 * I use the Astra theme and have tried using a standard theme for troubleshooting
   but the issue persists. Also, I do not have Jetpack installed, but the URL mentions
   that plugin. There also seems to be a typo in the URL (“automattic”); could this
   be causing the issue?
 * Please find the screenshot below:
 * ![](https://i0.wp.com/www.lisa-spricht.com/wp-content/uploads/2024/04/Screenshot-
   2024-04-10-at-12.41.29.png?ssl=1)
 * Your help would be greatly appreciated.
 * Thank you,
   Lisa
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fundefined-array-key-47%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [carolm29 (woo-hc)](https://wordpress.org/support/users/carolm29/)
 * (@carolm29)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/undefined-array-key-47/#post-17683070)
 * Hey there, [@lisaxdfsjh](https://wordpress.org/support/users/lisaxdfsjh/)! Thanks
   for contacting us. I’m happy to help you.
 * > I use the Astra theme and have tried using a standard theme for troubleshooting
   > but the issue persists. Also, I do not have Jetpack installed, but the URL 
   > mentions that plugin. There also seems to be a typo in the URL (“automattic”);
   > could this be causing the issue?
 * Thanks for the information and the screenshot!
 * Automattic (with two Ts) is the name of the company that owns Jetpack, WooCommerce,
   etc, so it is not a typo 🙂
 * The line seems to be from WooPayments, which uses Jetpack (even if you don’t 
   have the plugin) to connect to WordPress.com.
 * 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 > Get system
   report > Copy for support.
   Fatal error logs (if any) under WooCommerce > Status
   > Logs. Then you can use the selector to search for Fatal Errors.You could copy
   and paste your reply here or paste it via [https://gist.github.com/](https://gist.github.com/)
   and send the link here.
 * Looking forward to your reply.
 * Have a wonderful day!
 *  [v4codeit](https://wordpress.org/support/users/v4codeit/)
 * (@v4codeit)
 * [2 years ago](https://wordpress.org/support/topic/undefined-array-key-47/#post-17705673)
 * hi at all!
   I have the same issue.The Log[https://gist.github.com/v4codeit/d31f3511e32fc623ddb6f783532b99fe](https://gist.github.com/v4codeit/d31f3511e32fc623ddb6f783532b99fe)
 *  [nasito1977](https://wordpress.org/support/users/nasito1977/)
 * (@nasito1977)
 * [2 years ago](https://wordpress.org/support/topic/undefined-array-key-47/#post-17707798)
 * I have the same issue on check out page:
   Undefined array key 0 in /home/emsmassa/
   public_html/wp-content/plugins/woocommerce-payments/vendor/automattic/jetpack-
   sync/src/modules/class-woocommerce-hpos-orders.php on line 204The page: [https://emsmassager.eu/de/checkout/](https://emsmassager.eu/de/checkout/)
 *  [ckadenge (woo-hc)](https://wordpress.org/support/users/ckadenge/)
 * (@ckadenge)
 * [2 years ago](https://wordpress.org/support/topic/undefined-array-key-47/#post-17712086)
 * Hello [@v4codeit](https://wordpress.org/support/users/v4codeit/) and [@nasito1977](https://wordpress.org/support/users/nasito1977/),
 * Have you all tried updating WooCommerce to the latest version 8.8.2 and tried
   to see if the issues persist?
 *  [nasito1977](https://wordpress.org/support/users/nasito1977/)
 * (@nasito1977)
 * [2 years ago](https://wordpress.org/support/topic/undefined-array-key-47/#post-17712265)
 * I have changed the payment plugin..So I deleted WooPayments and installed Payment
   plugin for Stripe. Now it is fine.
 *  [ckadenge (woo-hc)](https://wordpress.org/support/users/ckadenge/)
 * (@ckadenge)
 * [2 years ago](https://wordpress.org/support/topic/undefined-array-key-47/#post-17712302)
 * Hello [@nasito1977](https://wordpress.org/support/users/nasito1977/),
 * Thank you for the update. Also, WooPayments has a new version which was recently
   rolled out, you can install in on a staging site and make a test purchase, I’m
   confident the issue has been fixed with the most recent update.
 * As for [@lisaxdfsjh](https://wordpress.org/support/users/lisaxdfsjh/), it’s been
   long since we last heard back from you. I’ll therefore go ahead and mark this
   thread as solved. Should you have any further questions or concerns, please feel
   free to reach out.
 * All the best!

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

The topic ‘Undefined array key’ 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/)

 * 6 replies
 * 5 participants
 * Last reply from: [ckadenge (woo-hc)](https://wordpress.org/support/users/ckadenge/)
 * Last activity: [2 years ago](https://wordpress.org/support/topic/undefined-array-key-47/#post-17712302)
 * Status: resolved