Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter wptom24

    (@wptom24)

    additional info:

    with issue does not occur with WooCommerce 10.3.0

    Plugin Author Saleem Summour

    (@sal4sup)

    hi @wptom24,

    thanks for the details. this is the same WooCommerce core bug we’ve been tracking since 10.3.x: WooCommerce calls needs_shipping() and throws a fatal when an order contains a product that was permanently deleted. our plugin checks whether the order needs shipping, so it hits that core bug and the page crashes. it’s not specific to our code.

    status: the fix is already submitted to WooCommerce core and awaiting release:
    https://github.com/woocommerce/woocommerce/pull/61628

    workarounds you can use right now:

    1. temporarily roll back WooCommerce to 10.3.0 (where you already confirmed it doesn’t happen), or
    2. restore the deleted products referenced by the failing orders (so needs_shipping() doesn’t crash).

    for reference, a related report is here (same root cause):
    https://ww.wp.xz.cn/support/topic/problem-after-update-to-woocommerce-10-3-0/

    once WooCommerce ships their patch, the fatal will disappear without any change to our plugin. if you still see issues after updating WooCommerce to the version that includes the fix, let us know and we’ll jump back in.

    Plugin Author Abdalsalaam Halawa

    (@abdalsalaam)

    Hello @wptom24

    Thanks for reporting this! We’ve just released version 3.9.6 that fixes this issue.
    Please update the plugin and the error should be resolved.
    Let us know if you still have any issues after updating.

    Best regards

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

The topic ‘Fatal Error when opening an Order’ is closed to new replies.