Home Forums Plugins WooCommerce Email Template Customizer Error since last update, conflicting with WooCommerce Waitlist

Error since last update, conflicting with WooCommerce Waitlist

  • Author
  • #85478

    Rasmus Nielsen


    Since the last update to (I am not sure which version I was on before) I am not able to send e-mails from the (official) WooCommerce Waitlist plug-in, in the debug log it shows error from your plug-in:

    [28-Feb-2021 04:38:52 UTC] PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function VIWEC\INC\Email_Trigger::replace_subject(), 1 passed in /var/www/karmamiacph.com/public_html/wp-includes/class-wp-hook.php on line 287 and exactly 3 expected in /var/www/karmamiacph.com/public_html/wp-content/plugins/woocommerce-email-template-customizer/includes/email-trigger.php:103
    Stack trace:
    #0 /var/www/karmamiacph.com/public_html/wp-includes/class-wp-hook.php(287): VIWEC\INC\Email_Trigger->replace_subject('A product you a...')
    #1 /var/www/karmamiacph.com/public_html/wp-includes/plugin.php(212): WP_Hook->apply_filters('A product you a...', Array)
    #2 /var/www/karmamiacph.com/public_html/wp-content/plugins/woocommerce-waitlist/classes/class-pie-wcwl-waitlist-mailout.php(141): apply_filters('woocommerce_ema...', 'A product you a...')
    #3 /var/www/karmamiacph.com/public_html/wp-content/plugins/woocommerce-waitlist/classes/class-pie-wcwl-waitlist-mailout.php(102): Pie_WCWL_Waitlist_Mailout->send_email()
    #4 /var/www/karmamiacph.com/public_html/wp-inclu in /var/www/karmamiacph.com/public_html/wp-content/plugins/woocommerce-email-template-customizer/includes/email-trigger.php on line 103

    Can you please send me a previous version of your plugin, or fix it… Thank you.

    P.s. It would also be great to be able to customise this e-mail type in the future 🙂

    Best regards, Rasmus.

You must be logged in to see replies to this topic. Click here to login or register