• Resolved thanhhieu96

    (@thanhhieu96)


    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

    (@mikkamp)

    Automattic Happiness Engineer

    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.