Support » Plugin: Kadence WooCommerce Email Designer » Fatal Error new activation

  • Resolved randytubbycreekfarm

    (@randytubbycreekfarm)


    Hello,

    I just installed and activated the Customizer whenI go to dashboard>woocomm>email customizer I see the following message.

    Fatal error: Uncaught Exception: Invalid order. in /home6/tubbycre/public_html/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php:100 Stack trace: #0 /home6/tubbycre/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): Abstract_WC_Order_Data_Store_CPT->read(Object(WC_Order)) #1 /home6/tubbycre/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(111): WC_Data_Store->read(Object(WC_Order)) #2 /home6/tubbycre/public_html/wp-content/plugins/woocommerce-pre-orders/includes/class-wc-pre-orders-checkout.php(194): WC_Abstract_Order->__construct(1) #3 /home6/tubbycre/public_html/wp-includes/class-wp-hook.php(288): WC_Pre_Orders_Checkout->update_payment_complete_order_status(‘completed’, 1) #4 /home6/tubbycre/public_html/wp-includes/plugin.php(203): WP_Hook->apply_filters(‘completed’, Array) #5 /home6/tubbycre/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(290): apply_filters(‘woocommerce_pay…’, ‘completed’, in /home6/tubbycre/public_html/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php on line 100

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hey,
    Which plugins do you have enabled? Do you have any orders on your site? When on the customizer page can you see the options on the left to choose an order or is all that missing?

    Ben

    Thread Starter randytubbycreekfarm

    (@randytubbycreekfarm)

    Hello
    -I do have orders already on my site.
    -I do see the options on the left, and they seem to be active, i can click through them. The fatal error is in the view area.
    I have 21 different plug ins

    ok great, Under “email type and text” choose a “PREVIEW ORDER” from the select box and save.

    Ben

    Thread Starter randytubbycreekfarm

    (@randytubbycreekfarm)

    Customizer>email type and text>
    Once I clicked on a consumers order the mail preview shows and seems to be working, but only when I have someone selected. I’m going to try it out and send myself a test email

    So this just means that you have a plugin (likly a payment plugin) that is interacting with the order in woocommerce in some way and it doesn’t like the mockup order that this plugin tries to create to preview emails. Within Woocommerce you need something to populate the date so just leaving on a real order would be fine and would be my suggestion.

    Ben

    Thread Starter randytubbycreekfarm

    (@randytubbycreekfarm)

    Yes, seems to be working.

    Thanks

    I have exactly the same problem. The Woocommerce Pre-Order Plugin is causing it: https://woocommerce.com/products/woocommerce-pre-orders/

    But your workaround helped. Thanks Ben!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Fatal Error new activation’ is closed to new replies.