Hi @elparts,
I apologize for the inconvenience caused to you.
I’ll be trying to replicate the issue at our end and will let you know the result. In the meantime, can you provide screenshot of the setup you have in the plugin and the screenshot which helps us to reproduce this bug?
Setup (I didn’t change anyting in Emails and Advanced): https://ibb.co/Y7q7LWj
Reproduce this bug: https://ibb.co/phQfC3H
Just create order like this, with one virtual downloadble product and permissions added, and with coupon applied. Order status should be “Completed”, and now choose any of you custom statutes and click Update and you will have this error.
Hi @elparts,
I tried many attempts to replicate the issue but unfortunately, I’m unable to reproduce the same.
Can you tell me which version of WooCommerce you are using as the error seems to be generated from WooCommerce file? Also, can you create submit the ticket to our support tool so that we can more communicate on this and solve as soon as possible?
Hi @tychesoftwares,
It’s woocommerce 9.0.1. I did something. I disabled all plugins except of your plugin, woocommerce and theme neve. I still have error, but I can see it now (below). It happens when I try change order status to your custom status. This download is valid, files exists and it downloads.
Fatal error: Uncaught Exception: Invalid download. in public_html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-customer-download-data-store.php:167 Stack trace: #0 public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): WC_Customer_Download_Data_Store->read(Object(WC_Customer_Download)) #1 public_html/wp-content/plugins/woocommerce/includes/class-wc-customer-download.php(66): WC_Data_Store->read(Object(WC_Customer_Download)) #2 public_html/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-downloads.php(106): WC_Customer_Download->__construct('84429') #3 public_html/wp-includes/class-wp-hook.php(324): WC_Meta_Box_Order_Downloads::save(43983, Object(WP_Post)) #4 public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #5 public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #6 public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-meta-boxes.php(263): do_action('woocommerce_pro...', 43983, Object(WP_Post)) #7 public_html/wp-includes/class-wp-hook.php(326): WC_Admin_Meta_Boxes->save_meta_boxes(43983, Object(WP_Post)) #8 public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array) #9 public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #10 public_html/wp-includes/post.php(4828): do_action('save_post', 43983, Object(WP_Post), true) #11 public_html/wp-includes/post.php(4930): wp_insert_post(Array, false, true) #12 public_html/wp-admin/includes/post.php(453): wp_update_post(Array) #13 public_html/wp-admin/post.php(227): edit_post() #14 {main} thrown in public_html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-customer-download-data-store.php on line 167
Hi @elparts,
Is there any specific character added in the custom order status? Can you share the list of the custom statuses? And is it possible for you to submit the ticket on our support system?