• Hi

    I get this error when I try to edit any products. Any help would be appreciated.

    Thanks
    Greg

    Fatal error: Uncaught exception ‘Exception’ with message ‘Invalid order.’ in /home/content/p3pnexwpnas03_data02/34/3107334/html/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php:86 Stack trace: #0 /home/content/p3pnexwpnas03_data02/34/3107334/html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(143): Abstract_WC_Order_Data_Store_CPT->read(Object(WC_Order)) #1 /home/content/p3pnexwpnas03_data02/34/3107334/html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(109): WC_Data_Store->read(Object(WC_Order)) #2 /home/content/p3pnexwpnas03_data02/34/3107334/html/wp-content/plugins/usps-woocommerce-shipping/includes/class-wf-shipping-usps-admin.php(1214): WC_Abstract_Order->__construct(‘30321’) #3 /home/content/p3pnexwpnas03_data02/34/3107334/html/wp-content/plugins/usps-woocommerce-shipping/includes/class-wf-shipping-usps-admin.php(207): WF_Shipping_USPS_Admin->wf_load_order(‘30321’) #4 [internal function]: WF_Shipping_USPS_Admin->wf_add_usps_metabox(‘pr in /home/content/p3pnexwpnas03_data02/34/3107334/html/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php on line 86

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    The stack trace shows it’s coming from usps-woocommerce-shipping. I’d expect the plugin is not using wc_get_order() function and checking if the order ID is valid.

    Report to the developer of usps-woocommerce-shipping.

    Thread Starter gregrlevy

    (@gregrlevy)

    Thanks
    Greg

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal Error when trying to edit products in Woocommerce’ is closed to new replies.