• Hi WooCommerce,

    I am having an issue at the checkout page:
    Fatal error: Uncaught exception ‘Exception’ with message ‘Invalid order.’ in /home4/jmsasia/public_html/viajapronto/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php:86 Stack trace: #0 /home4/jmsasia/public_html/viajapronto/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(143): Abstract_WC_Order_Data_Store_CPT->read(Object(WC_Order)) #1 /home4/jmsasia/public_html/viajapronto/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(109): WC_Data_Store->read(Object(WC_Order)) #2 /home4/jmsasia/public_html/viajapronto/wp-content/themes/midway/framework/classes/themex.woo.php(170): WC_Abstract_Order->__construct(786) #3 /home4/jmsasia/public_html/viajapronto/wp-content/themes/midway/woocommerce/checkout/form-checkout.php(12): ThemexWoo::getRelatedPost(786, ‘tour’) #4 /home4/jmsasia/public_html/viajapronto/wp-content/plugins/woocommerce/includes/wc-core-functions.php(204): include(‘/home4/jmsasia/…’) #5 /home4/jmsasia/public_html/viajapronto/wp-content/plug in /home4/jmsasia/public_html/viajapronto/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php on line 86

    I have read on other Post from this forum that this relates to a WooCommerce Shipment Tracking Basic plugin, but surprisingly I don’t have that plugin installed. In fact I had any WooCommerce plugin installed (since then I hadve installed WooCommerce Easy booking), but that doesn’t seem to be the problem. SO what could be causing me this issue?

    Thanks a lot

Viewing 2 replies - 1 through 2 (of 2 total)
  • It looks like your Midway theme class “themex.woo.php” line 170 and the theme template for checkout is not compatible with the current woocommerce.

    I got this error too.

    The error is the use of ‘WC_Order’ on line 176. The new version of the class doesn’t use a constructor so the use of the ID param throws that FE error.

    You’ll need to either remove the ID param from that line but it will break the function without any errors and you wont see any related tours on the checkout page.

    Or contact the theme dev for an update

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