• Resolved oreinfrid

    (@oreinfrid)


    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)

    (@erania-pinnera)

    Hi @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

    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

    (@oreinfrid)

    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

    Hi @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

    (@oreinfrid)

    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 1 year, 9 months ago by oreinfrid.
    Plugin Support Stef (a11n)

    (@erania-pinnera)

    Hi there, @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)

    (@erania-pinnera)

    Hi @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

    (@oreinfrid)

    Hi All,

    Any updates on this topic?
    Thanks and regards,
    Olivier

    Hi @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

    (@oreinfrid)

    Hi @cena,

    Thanks a lot for the information.
    Let’s wait for the release then.
    Thanks again for the support.

    Regards,

    Olivier

    Thread Starter oreinfrid

    (@oreinfrid)

    Hi @cena

    Is the version 5.5.4 been released?

    Thank you.

    Olivier

    Jay

    (@bluejay77)

    Hi @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

    (@bluejay77)

    Hi @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

    (@oreinfrid)

    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)

    (@erania-pinnera)

    Hey @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? 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.