Support » Plugin: Woo Custom Emails Per Product » BUG ON FINAL MESSAGE

  • Resolved royrogers

    (@royrogers)


    Hi there,

    I found a bug on the email final message (Completed order):

    Warning: in_array() expects parameter 2 to be array, null given in /public_html/wp-content/plugins/woo-custom-emails-per-product/includes/class-woo-custom-emails-output.php on line 78

    Thank you!

Viewing 15 replies - 1 through 15 (of 28 total)
  • Plugin Author alexmustin

    (@alexmustin)

    Thanks, royrogers!

    I’ll look into this immediately.

    You are welcome! Your plugin is amazing!

    Plugin Author alexmustin

    (@alexmustin)

    Hi royrogers,

    I’m having trouble replicating the issue. Every time I change an Order from “Processing” or “On-Hold” to “Complete” I don’t get any errors and I see the email message I’m expecting…

    Can you please tell me the steps you did to produce this error?

    Thanks!

    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

    Plugin Author alexmustin

    (@alexmustin)

    Hi Roy,

    I am still not getting the error you are seeing… please watch this screencast of the steps I’m taking to change the Order status:

    http://alexmustin.com/upload/WooCustomEmails–emails-sending-no-error.mov

    I’m confused on the difference between these two items:

    – WOOCOMMERCE/ORDERS PAGE ->ACTIONS (Checkbox with a mark)
    – WOOCOMMERCE/ EDIT ORDER PAGE (you have to click on the order table name to enter edit page)

    I only see one page for editing Orders, under the WooCommerce menu.

    Am I missing a step somewhere?

    Please advise.

    Thank you!

    Plugin Author alexmustin

    (@alexmustin)

    Hey Roy,

    I think I know the other page you’re referring to: the “Single Order Edit Page” like this:

    https://i.imgur.com/kQd2QQT.png

    Before, I was doing a “Bulk Edit” on the Orders page.

    On the Single Order Edit Page, when I change the drop-down box highlighted in red and update the Order, I am still not seeing any errors.

    I wonder if any other plugins are conflicting?

    Hi Alex. Love the idea of the plugin and cant wait to use it!

    But i get the same message when it sends the final email. I need the Plugin for when an order is “Processing” But on my email test it shows up like this:

    Warning: in_array() expects parameter 2 to be array, null given in /home/mvfiacom/public_html/wp-content/plugins/woo-custom-emails-per-product/includes/class-woo-custom-emails-output.php on line 78

    Any help would be great.
    Thanks

    Plugin Author alexmustin

    (@alexmustin)

    Hi paulobm,

    Thank you for also using my plugin!

    If you could help me troubleshoot, I am wondering what kinds of products are in your order? Are they all Simple products, or do you also have Variable products there as well?

    Please advise.

    Thanks!

    Hi Alex! I have the same error in processing email:
    Warning: in_array() expects parameter 2 to be array, null given in /…/wp-content/plugins/woo-custom-emails-per-product/includes/class-woo-custom-emails-output.php on line 78

    Plugin Author alexmustin

    (@alexmustin)

    Is anyone on this thread able to provide a screen recording of how you get this error?

    I’m not able to reproduce it…

    Thanks in advance!

    There is my screencast http://take.ms/cPrHM

    Plugin Author alexmustin

    (@alexmustin)

    Awesome! Thanks so much paulinho_rus. That definitely helps.

    I’ll see if I can reproduce this and fix it!

    Plugin Author alexmustin

    (@alexmustin)

    I am still unable to reproduce this error, using plugin version 2.1.1.

    See this screencast:

    http://alexmustin.com/upload/WooCustomEmails–changing-order-status.mov

    What plugins do you have installed?

    I turned off all the plug-ins, but nothing has changed 🙁

    hello, im having the same problem, im using:
    – woocommerce 3.3.2,
    – WP 4.9.4, PHP 5.6.30,
    – Easy WP SMTP by wpecommerce – 1.3.5 for mail send.
    – Woo Custom Emails Per Product by Alex Mustin – 2.1.0

    try editing the status of the order in the main list of orders bulk action, and inside the order description. got the same error in both case on the mail content.

    Warning: in_array() expects parameter 2 to be array, null given in /../wp-content/plugins/woo-custom-emails-per-product/includes/class-woo-custom-emails-output.php on line 78.
    im using a DIVI theme, btw.
    Any news about this issue?

Viewing 15 replies - 1 through 15 (of 28 total)
  • The topic ‘BUG ON FINAL MESSAGE’ is closed to new replies.