Critical error when creating e new user on order page
-
Hi!
Thanks for the excelent plugin ! Recentlly i’ve a issue when to creating new user on order page , look this report from wordpress:
”
WordPress versão 5.4.7
Tema atual: Blocksy (versão 1.7.71)
Plugin atual: Add Customer for WooCommerce (versão 1.6.3)
PHP versão 7.4.33Detalhes do erro
================
Um erro do tipo E_ERROR foi causado na linha 128 do arquivo /public_html/wp-content/plugins/add-customer-for-woocommerce/include/tools/helper.php. Mensagem de erro: Uncaught ArgumentCountError: Too few arguments to function woo_add_customer_helper::{closure}(), 2 passed in /public_html/wp-includes/class-wp-hook.php on line 287 and exactly 3 expected in /public_html/wp-content/plugins/add-customer-for-woocommerce/include/tools/helper.php:128
Stack trace:
#0 /public_html/wp-includes/class-wp-hook.php(287): woo_add_customer_helper->{closure}(true, Object(WP_User))
#1 /public_html/wp-includes/plugin.php(206): WP_Hook->apply_filters(true, Array)
#2 /public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(467): apply_filters(‘woocommerce_ema…’, true, Object(WP_User))
#3 /public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-new-account.php(109): WC_Email->is_enabled()
#4 /public_html/wp-content/plugins/woocommerce/includes/class-wc-emails.php(356): WC_Email_Customer_New_Account->trigger(11, ‘d8PxGwazg)Mu’, f`How we can fix the issue ?
- The topic ‘Critical error when creating e new user on order page’ is closed to new replies.