• With this plugin installed, a fatal error is thrown by the email notification previews when viewing the Email settings pages in WooCommerce admin. The error is thrown in line 67 of /pre-orders-for-woocommerce/src/Checkout.php. A dummy order is used for previews and the order id passed to setPreroderStatus is not a valid id. So the call to wc_get_order( $order_id ) in line 66 returns false.

    I have edited the code in my local version so that it is working now, but future updates will likely break my site again if it is not fixed.

Viewing 3 replies - 1 through 3 (of 3 total)
  • hello, i have the same issue, can you tell me what you ve edited ? tks

    Plugin Support Imagemathdaniel

    (@mathdaniel)

    Hello,

    I hope you are doing very well.

    Thank you for reporting this.

    Our team is already aware, and the case has been referred to the relevant department. We work using sprints and prioritize based on user impact, so the fix is planned for an upcoming update and will be reflected in the changelog when it is available.

    Best regards, peace!

    Plugin Support Imagemathdaniel

    (@mathdaniel)

    Hello @richardc1976,

    I hope you are well.

    We would like to inform you that the issue you mentioned has been resolved.

    Please update to the new version v2.3 of the plugin to apply the fix. You can also view the details of this update in our official changelog.

    We hope this helps.

    Best regards, peace!

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

You must be logged in to reply to this topic.