Critical error
-
Hi!
I have major problem related to the user registration when using this plugin – users get critical error after trying to register on my website.
Critical error look like this:
2024-11-01T15:08:07+00:00 Critical Uncaught ArgumentCountError: Too few arguments to function woocommerce_abandon_cart_lite::wcal_from_address_for_emails(), 2 passed in /wp-includes/class-wp-hook.php on line 324 and exactly 3 expected in /wp-content/plugins/woocommerce-abandoned-cart/woocommerce-ac.php:4115
So the reason for this error are these 2 functions in woocommerce_abandon_cart_lite classwcal_from_address_for_emails( $wp_admin_address, $email, $from_email )andwcal_from_name_for_emails( $wp_admin_name, $email, $from_name_default )So each function, for some reason, has parameter, that is not used anywhere.
Why do these function have required parameters, that are not used? After removing them, everything works fine.
(Plugin is updated to the last current available version 6.1.1)
The topic ‘Critical error’ is closed to new replies.