Title: PHP Warning: Undefined array key &#8220;checkout-draft&#8221;
Last modified: February 13, 2023

---

# PHP Warning: Undefined array key “checkout-draft”

 *  Resolved [oreinfrid](https://wordpress.org/support/users/oreinfrid/)
 * (@oreinfrid)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-checkout-draft/)
 * Hi there,
   I am using wooCommerce and Jetpack CRM, both updated.since the 2nd 
   of Feb (may be link with a plugin update), I have a PHP warning Undefined array
   key “checkout-draft” in zero-bs-crm/modules/woo-sync/includes/class-woo-sync-
   background-sync-job.php.I would like to have it flushed.
 * Also, in my CRM portal, I can see transactions with this status. Could you please
   tell me what is it about?
 * Thank you
 * Olivier

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

 *  Plugin Support [Stef (a11n)](https://wordpress.org/support/users/erania-pinnera/)
 * (@erania-pinnera)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-checkout-draft/#post-16468698)
 * Hi [@oreinfrid](https://wordpress.org/support/users/oreinfrid/),
 * I’m sorry to hear about the trouble, but thanks for reaching out.
 * Can you please head to Jetpack CRM > CRM Settings > WooSync and click on the 
   WooSync Hub button? The direct link should be: 
   [https://YOURSITEURL/wp-admin/admin.php?page=woo-sync-hub](https://YOURSITEURL/wp-admin/admin.php?page=woo-sync-hub)
 * From there, on the bottom right of the page, there’s a `Run Sync debug` link 
   to click. Can you tell us what you see in there, do you spot any errors? If you’re
   sharing a screenshot of that, please make sure to redact any sensitive data.
 * If you don’t have a recent sync job, you can click on the `Restart Sync` button
   to see if that helps with this issue.
 * Can you also tell us what PHP version you’re running?
 * Let me know what you find out, and thanks for sorting this out with us!
 *  Thread Starter [oreinfrid](https://wordpress.org/support/users/oreinfrid/)
 * (@oreinfrid)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-checkout-draft/#post-16469147)
 * Hi Stef,
   Thanks fro your answer.I am running WP 6.1.1
 * I had a look at the Sync debug file on WP but just have the last day.
 * I’ve restarted a sync, but have to have a look at the WP debug log file.
   Keep
   you posted.
 * Cheers,
   Olivier
 *  [Cena (a11n)](https://wordpress.org/support/users/cena/)
 * (@cena)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-checkout-draft/#post-16470294)
 * Hi [@oreinfrid](https://wordpress.org/support/users/oreinfrid/) ,
 * Would you let us know your PHP (not WP) version? 🙂
 * > have a PHP warning Undefined array key “checkout-draft” in zero-bs-crm/modules/
   > woo-sync/includes/class-woo-sync-background-sync-job.php.
   > I would like to have
   > it flushed.
 * Would you let us know where you’re seeing this? I just went through the Transactions
   page in the admin, and in Client Portal, with both Query Monitor and Firefox/
   Chrome devtools and haven’t seen this. Is it in your WP debug log?
 * Best,
   Cena
 *  Thread Starter [oreinfrid](https://wordpress.org/support/users/oreinfrid/)
 * (@oreinfrid)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-checkout-draft/#post-16470462)
 * Hi Cena,
   sorry, read it too quick…PHP version is in 8.0
 * Yes I have this message in the WP debug log file.
 * Regards,
 * Olivier
    -  This reply was modified 3 years, 3 months ago by [oreinfrid](https://wordpress.org/support/users/oreinfrid/).
 *  Plugin Support [Stef (a11n)](https://wordpress.org/support/users/erania-pinnera/)
 * (@erania-pinnera)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-checkout-draft/#post-16494192)
 * Hi there, [@oreinfrid](https://wordpress.org/support/users/oreinfrid/),
 * Apologies for the delay in getting back to you on this ^^
   I have asked our developers
   about that, we’ll circle back here as soon as we have a reply from them 🙂
 *  Plugin Support [Stef (a11n)](https://wordpress.org/support/users/erania-pinnera/)
 * (@erania-pinnera)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-checkout-draft/#post-16495942)
 * Hi [@oreinfrid](https://wordpress.org/support/users/oreinfrid/),
 * Our developers were able to replicate the issue and are already working on a 
   fix. We’ll circle back here once that’s done to update you on the latest news.
 * Let me know if there’s anything else we can do to help meanwhile, and thanks 
   for bearing with us while we’re fixing this!
 *  Thread Starter [oreinfrid](https://wordpress.org/support/users/oreinfrid/)
 * (@oreinfrid)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-checkout-draft/#post-16513118)
 * Hi All,
 * Any updates on this topic?
   Thanks and regards,Olivier
 *  [Cena (a11n)](https://wordpress.org/support/users/cena/)
 * (@cena)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-checkout-draft/#post-16514564)
 * Hi [@oreinfrid](https://wordpress.org/support/users/oreinfrid/) ,
 * Yes! A fix has been completed and will be released in version 5.5.4, which currently
   has an ETA release date of 7 March.
 * Basically, the problem is that the ‘Draft’ status was missing from the WooSync
   file: .`.modules/woo-sync/includes/class-woo-sync.php`
 * And that’s been corrected.
 * Best,
 * Cena
 *  Thread Starter [oreinfrid](https://wordpress.org/support/users/oreinfrid/)
 * (@oreinfrid)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-checkout-draft/#post-16514592)
 * Hi [@cena](https://wordpress.org/support/users/cena/),
 * Thanks a lot for the information.
   Let’s wait for the release then.Thanks again
   for the support.
 * Regards,
 * Olivier
 *  Thread Starter [oreinfrid](https://wordpress.org/support/users/oreinfrid/)
 * (@oreinfrid)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-checkout-draft/#post-16561186)
 * Hi [@cena](https://wordpress.org/support/users/cena/)
 * Is the version 5.5.4 been released?
 * Thank you.
 * Olivier
 *  [Jay](https://wordpress.org/support/users/bluejay77/)
 * (@bluejay77)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-checkout-draft/#post-16584502)
 * Hi [@oreinfrid](https://wordpress.org/support/users/oreinfrid/),
 * I am very sorry for the late reply here!
 * Thank you for reaching out – the 5.5.4 has not been released as of yet. Once 
   there is a release we can reach back out to you letting you know.
 * If you have any questions in the meantime, please let us know here. 🙂
 *  [Jay](https://wordpress.org/support/users/bluejay77/)
 * (@bluejay77)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-checkout-draft/#post-16589395)
 * Hi [@oreinfrid](https://wordpress.org/support/users/oreinfrid/),
 * Jetpack CRM v. 5.6.0 has been released which includes fix for this issue. Let
   us know if you still run into issues after updating to the latest version.
 * Thanks!
 *  Thread Starter [oreinfrid](https://wordpress.org/support/users/oreinfrid/)
 * (@oreinfrid)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-checkout-draft/#post-16620309)
 * Hi there,
 * I’ve update the JetpackCRM version in the last version.
   Unfortunately it seems
   I still have the issue; I still see the checkout-draft even if I re-sync with
   WooCommerce.
 * Please help.
 * Thank you
 *  Plugin Support [Stef (a11n)](https://wordpress.org/support/users/erania-pinnera/)
 * (@erania-pinnera)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-checkout-draft/#post-16624697)
 * Hey [@oreinfrid](https://wordpress.org/support/users/oreinfrid/),
 * I’m sorry to hear that the issue hasn’t got solved with the plugin update.
 * At this point, we’d like to know more about your site to figure out what’s happening.
   Could you contact us [via the Bug Report form](https://jetpack.com/contact-support/?rel=support&hpi=1)?
   Please also mention this forum thread in your message.
 * If you can share the Warning message, line number, file too that’d be very useful;
   we’ll escalate it to our developers immediately.
 * Thanks a lot in advance!

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

The topic ‘PHP Warning: Undefined array key “checkout-draft”’ is closed to new replies.

 * ![](https://ps.w.org/zero-bs-crm/assets/icon.svg?rev=2821636)
 * [Jetpack CRM - Clients, Leads, Invoices, Billing, Email Marketing, & Automation](https://wordpress.org/plugins/zero-bs-crm/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/zero-bs-crm/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/zero-bs-crm/)
 * [Active Topics](https://wordpress.org/support/plugin/zero-bs-crm/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/zero-bs-crm/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/zero-bs-crm/reviews/)

 * 14 replies
 * 4 participants
 * Last reply from: [Stef (a11n)](https://wordpress.org/support/users/erania-pinnera/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-checkout-draft/#post-16624697)
 * Status: resolved