Title: Checkout eror
Last modified: February 21, 2018

---

# Checkout eror

 *  Resolved [thanhhieu96](https://wordpress.org/support/users/thanhhieu96/)
 * (@thanhhieu96)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/checkout-eror/)
 * i have trouble when checkout
 * Fatal error: Uncaught exception ‘Exception’ with message ‘Invalid order.’ in /
   home/kienthu3/public_html/ooagency.xyz/wp-content/plugins/woocommerce/includes/
   data-stores/abstract-wc-order-data-store-cpt.php:102 Stack trace: #0 /home/kienthu3/
   public_html/ooagency.xyz/wp-content/plugins/woocommerce/includes/class-wc-data-
   store.php(149): Abstract_WC_Order_Data_Store_CPT->read(Object(WC_Order)) #1 /
   home/kienthu3/public_html/ooagency.xyz/wp-content/plugins/woocommerce/includes/
   abstracts/abstract-wc-order.php(109): WC_Data_Store->read(Object(WC_Order)) #
   2 /home/kienthu3/public_html/ooagency.xyz/wp-content/themes/academy/framework/
   classes/themex.woo.php(257): WC_Abstract_Order->__construct(14) #3 /home/kienthu3/
   public_html/ooagency.xyz/wp-content/themes/academy/woocommerce/checkout/form-
   checkout.php(12): ThemexWoo::getRelatedPost(14, Array, true) #4 /home/kienthu3/
   public_html/ooagency.xyz/wp-content/plugins/woocommerce/includes/wc-core-functions.
   php(211): include(‘/home/kienthu3/…’) #5 /home/kienthu3/public_html/ooagency.
   xyz/wp in /home/kienthu3/public_html/ooagency.xyz/wp-content/plugins/woocommerce/
   includes/data-stores/abstract-wc-order-data-store-cpt.php on line 102

Viewing 1 replies (of 1 total)

 *  [Michael K](https://wordpress.org/support/users/mikkamp/)
 * (@mikkamp)
 * Automattic Happiness Engineer
 * [8 years, 5 months ago](https://wordpress.org/support/topic/checkout-eror/#post-9998239)
 * In the stack trace it shows that in the theme (themes/academy/woocommerce/checkout/
   form-checkout.php), it’s calling some function to get related posts: ThemexWoo::
   getRelatedPost
    This results in it loading an invalid order object.
 * You would be best off to contact your theme authors about this error so they 
   could have a closer look.

Viewing 1 replies (of 1 total)

The topic ‘Checkout eror’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Michael K](https://wordpress.org/support/users/mikkamp/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/checkout-eror/#post-9998239)
 * Status: resolved