Home Forums WC Vendors Pro Support php error after removing an order in woocommerce

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #64427
    Xehon
    Participant

    Hey guys,

    i’ve got an error message after removing an order in woocommerce.
    The order no longer appear in the pro dashboard but on “Orders” page , there is a fatal error :

    Fatal error: Uncaught Exception: Commande non valide in /home/user/public_html/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php:86 Stack trace: #0 /home/user/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(143): Abstract_WC_Order_Data_Store_CPT->read(Object(WC_Order)) #1 /home/user/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(109): WC_Data_Store->read(Object(WC_Order)) #2 /home/user/public_html/wp-content/plugins/wc-vendors/classes/admin/class-admin-page.php(373): WC_Abstract_Order->__construct(‘67798’) #3 /home/user/public_html/wp-admin/includes/class-wp-list-table.php(1305): WCV_Admin_Page->column_default(Object(stdClass), ‘order_id’) #4 /home/user/public_html/wp-admin/includes/class-wp-list-table.php(1242): WP_List_Table->single_row_columns(Object(stdClass)) #5 /home/user/public_html/wp-admin/includes/class-wp-list-table.php(1229): WP_List_Table->single_row(O in /home/user/public_html/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php on line 86

    This error appears in the backoffice > woocommerce > commissions too.

    Do you have any idea of what’s happening please ?
    Thanks !

    #64428
    Xehon
    Participant

    Okay, looking for Woocommerce order ID in the database (table yourprefix_pv_commission) and remove it solved this fatal error !

    #64449
    Anna
    Member

    @xehon
    Glad that worked to resolve the issue! 🙂
    In the future, if you wish to delete a test order, please first mark the commissions as reversed. Then the error will not occur as the system searched for the commissions info for that deleted order.

    #64475
    Xehon
    Participant

    Great thanks for this info !

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.