Uncaught ArgumentCountError: Too few arguments to function WC_Emails::email_head
-
Hi,
Was working great until yesterday, now getting following error:
PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function WC_Emails::email_header(), 1 passed in /home/public_html/wp-includes/class-wp-hook.php on line 287 and exactly 2 expected in /home/public_html/wp-content/plugins/woocommerce/includes/class-wc-emails.php:269
Stack trace:
#0 /home/public_html/wp-includes/class-wp-hook.php(287): WC_Emails->email_header(‘Quotation Reque…’)
#1 /home/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
#2 /home/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
#3 /home/public_html/wp-content/plugins/quotes-for-woocommerce/templates/emails/new-request-sent-customer.php(15): do_action(‘woocommerce_ema…’, ‘Quotation Reque…’)
#4 /home/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include(‘/home/…’)
#5 /home/public_html/wp-content/plugins/quotes-for-woocommerce/includes/emails/class-qwc-request-sent.php(145): wc_ in /home/public_html/wp-content/plugins/woocommerce/includes/class-wc-emails.php on line 269I cant figure this out, any suggestions?
Thanks!
- The topic ‘Uncaught ArgumentCountError: Too few arguments to function WC_Emails::email_head’ is closed to new replies.