Title: ANOTHER BUG: SENT ON WRONG ORDER STATUS
Last modified: February 13, 2018

---

# ANOTHER BUG: SENT ON WRONG ORDER STATUS

 *  Resolved [royrogers](https://wordpress.org/support/users/royrogers/)
 * (@royrogers)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/another-bug-wrong-order-status/)
 * Hi there,
 * I found another bug. May be has something to do with the first one.
 * When selecting the dropdown menu on the edit product page/custom emails:
 * ex: if I select “order status” “Completed” the custom email message was sent 
   when the product was still in the “processing” order status despite the fact 
   that I have been selected “Completed” on the order status dropdown menu.
 * Thanks
    -  This topic was modified 8 years, 3 months ago by [royrogers](https://wordpress.org/support/users/royrogers/).
    -  This topic was modified 8 years, 3 months ago by [royrogers](https://wordpress.org/support/users/royrogers/).

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [alexmustin](https://wordpress.org/support/users/alexmustin/)
 * (@alexmustin)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/another-bug-wrong-order-status/#post-9967796)
 * Ok thanks!
 * I’ll look into this.
 *  Plugin Author [alexmustin](https://wordpress.org/support/users/alexmustin/)
 * (@alexmustin)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/another-bug-wrong-order-status/#post-9968541)
 * Hi royrogers,
 * I cannot replicate this issue.
 * Can you please send me a screenshot of the error you’re experiencing?
 * Thanks!
 *  Thread Starter [royrogers](https://wordpress.org/support/users/royrogers/)
 * (@royrogers)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/another-bug-wrong-order-status/#post-9971522)
 * Hi There,
 * I just found out the issue:
 * If I check the order as completed on the WOOCOMMERCE/ORDERS PAGE ->ACTIONS (Checkbox
   with a mark) the email works without any issues. But if I try to mark the order
   as completed on the WOOCOMMERCE/ EDIT ORDER PAGE (you have to click on the order
   table name to enter edit page) the final completed incoming email message send
   the following warning message:
 * `Warning: in_array() expects parameter 2 to be array, null given in /home/declicin/
   public_html/wp-content/plugins/woo-custom-emails-per-product/includes/class-woo-
   custom-emails-output.php on line 78`
 * Thanks for your patience
 * Roy
    -  This reply was modified 8 years, 3 months ago by [royrogers](https://wordpress.org/support/users/royrogers/).
 *  Plugin Author [alexmustin](https://wordpress.org/support/users/alexmustin/)
 * (@alexmustin)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/another-bug-wrong-order-status/#post-9991370)
 * Hi Roy,
 * Is this a duplicate issue of your other post?
 * If so, we can delete this one since I’m already looking into the issue.
 * Please advise.
 * Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘ANOTHER BUG: SENT ON WRONG ORDER STATUS’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woo-custom-emails-per-product_75b5c3.
   svg)
 * [WC Custom Emails Per Product](https://wordpress.org/plugins/woo-custom-emails-per-product/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-custom-emails-per-product/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-custom-emails-per-product/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-custom-emails-per-product/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-custom-emails-per-product/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-custom-emails-per-product/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [alexmustin](https://wordpress.org/support/users/alexmustin/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/another-bug-wrong-order-status/#post-9991370)
 * Status: resolved