Home Forums Plugins WooCommerce Email Template Customizer php error on state change

php error on state change

  • Author
    Posts
  • #128557

    Chris Pladdet
    Participant

    Hello,

    When I change my order state to shipped I get a PHP error and no mail is send.

    Could you check this error?

    PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function VIWECINCLUDESEmail_Trigger::trigger_recipient(), 2 passed in /var/www/bpshop.broadcastpartners.nl/wp-includes/class-wp-hook.php on line 307 and exactly 3 expected in /var/www/bpshop.broadcastpartners.nl/wp-content/plugins/woocommerce-email-template-customizer/includes/email-trigger.php:91
    Stack trace:
    #0 /var/www/bpshop.broadcastpartners.nl/wp-includes/class-wp-hook.php(307): VIWECINCLUDESEmail_Trigger->trigger_recipient()
    #1 /var/www/bpshop.broadcastpartners.nl/wp-includes/plugin.php(189): WP_Hook->apply_filters()
    #2 /var/www/bpshop.broadcastpartners.nl/wp-content/plugins/woocommerce-status-actions/includes/emails/class-wc-sa-email.php(132): apply_filters()
    #3 /var/www/bpshop.broadcastpartners.nl/wp-content/plugins/woocommerce-status-actions/includes/emails/class-wc-sa-email.php(89): WC_SA_Email->get_recipient()
    #4 /var/www/bpshop.broadcastpartners.nl/wp-includes/class-wp-hook.php(309): WC_SA_Email->trigger()
    #5 /var/www/bpshop.broadcastpartners. in /var/www/bpshop.broadcastpartners.nl/wp-content/plugins/woocommerce-email-template-customizer/includes/email-trigger.php on line 91

    Regards,
    Leon

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