• About a month and a half ago I stopped being able to delete products from Woocommerce. Previously I had no issues. I’m now getting an HTTP error 500. Every plugin and theme is updated. Anyone know what may have happened and how I can fix this issue?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Exactly same issue here , and no solution yet.
    Happen after upgrade to woocommerce latest version, from 2.6.9 to 3.1.1

    I restore my site from backup, all back to work ok.
    Then I update to 3.0.0 RC 1, bug is present.
    I restore again from backup without that trouble, and now upgrade to 2.7.0 RC 1, trouble is present.

    I delete the site, restore again backup, and now upgrade to 2.6.14, trouble no present.

    After version 2.6.14 this bug is present and affect products already created, new products created not affected.

    Here the error

    Fatal error: Uncaught exception ‘Exception’ with message ‘Invalid order.’ in /home/namesite/public_html/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php:89 Stack trace: #0 /home/namesite/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(147): Abstract_WC_Order_Data_Store_CPT->read(Object(WC_Order)) #1 /home/namesite/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(109): WC_Data_Store->read(Object(WC_Order)) #2 /home/namesite/public_html/wp-content/plugins/woocommerce-pre-orders/includes/class-wc-pre-orders-product.php(446): WC_Abstract_Order->__construct(‘8595’) #3 [internal function]: WC_Pre_Orders_Product->maybe_cancel_pre_order_product_trashed(8576) #4 /home/namesite/public_html/wp-includes/class-wp-hook.php(298): call_user_func_array(Array, Array) #5 /home/namesite/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array) #6 /home/namesite/ in /home/namesite/public_html/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php on line 89

    In my case, disabling plugin pre-orders do the trick of sent to trash a product, then can enable pre-orders again.
    Anyway, continue researching, I want a fix for this.

    @askapa I agree totally. Same issue, I also have pre-orders installed. Although not ideal, thanks for the tip.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Product will not move to trash. Http error 500’ is closed to new replies.