• Hi,

    I’m using WooCommerce alongside with the plugin WooCommerce Pre-Orders. When I open the e-mail customizer I receive the following error. When I deactivate the pre-orders plugin the e-mail customizer works fine. However, I need to be able to use the two plugins together. Can you help with this issue?

    Fatal error: Uncaught Exception: Ungültige Bestellung. in /wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php:101 Stack trace: #0 /wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): Abstract_WC_Order_Data_Store_CPT->read(Object(WC_Order)) #1 /wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(111): WC_Data_Store->read(Object(WC_Order)) #2 /wp-content/plugins/woocommerce-pre-orders/includes/class-wc-pre-orders-checkout.php(194): WC_Abstract_Order->__construct(1) #3 /wp-includes/class-wp-hook.php(290): WC_Pre_Orders_Checkout->update_payment_complete_order_status(‘completed’, 1) #4 /wp-includes/plugin.php(206): WP_Hook->apply_filters(‘completed’, Array) #5 /wp-content/plugins/woocommerc in /wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php on line 101

    Thanks and best regards
    Nina

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter nadine

    (@ninablue)

    Additional information: This only happens when the Mockup Order is being previewed as Preview Order. When I choose an actual order the preview works fine.

    Plugin Contributor Ben Ritner – Kadence WP

    (@britner)

    Hey,
    Thanks for posting,

    Yes, any time you get an error in the customizer it’s best to preview with a real order. I know of one other third party plugin that won’t function with a mockup order. It’s because those plugins are looking for specific data that would be in the orders data once they are installed.

    Glad you got it working!

    Ben

    Thread Starter nadine

    (@ninablue)

    Hey,

    thanks for your reply. Would it be possible to implement an integration with the Pre-Orders plugin, so I can also preview and customize the pre-order mails with the email designer?

    Best Nina

    Plugin Contributor Ben Ritner – Kadence WP

    (@britner)

    Thanks for your suggestion for feature integration. I’ll take it into consideration.
    There are a lot of third-party emails that we could support and some plugin authors are easy to work with and others not so much. I try and reach out to authors of premium plugins where we would need to get access to the code to make integration possible. WooCommerce Premium marketplace hasn’t wanted to make this possible, unfortunately. Even still I”ve added support for Subscriptions and waitlist, but since I’ve one-sided I don’t have many from Woocommerce Premium marketplace that is on my upcoming list of new integrations.

    Ben

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

The topic ‘Fatal error – invalid order with WooCommerce Pre-Orders’ is closed to new replies.