Plugin causing an error on the website
-
Its preventing checkout and admin login with the following error:
WordPress version 6.1.1
Active theme: Genesis (version 3.4.0)
Current plugin: Email Verification for WooCommerce (version 2.5.3)
PHP version 7.4.33Error Details
An error of type E_ERROR was caused in line 277 of the file /home/website/install/public_html/wp-content/plugins/emails-verification-for-woocommerce/includes/class-alg-wc-ev-logouts.php. Error message: Uncaught ArgumentCountError: Too few arguments to function Alg_WC_Email_Verification_Logouts::block_unverified_user_login_by_wp_set_cookie(), 1 passed in /home/website/install/public_html/wp-includes/class-wp-hook.php on line 308 and exactly 4 expected in /home/website/install/public_html/wp-content/plugins/emails-verification-for-woocommerce/includes/class-alg-wc-ev-logouts.php:277
Stack trace:0 /home/website/install/public_html/wp-includes/class-wp-hook.php(308): Alg_WC_Email_Verification_Logouts->block_unverified_user_login_by_wp_set_cookie()
1 /home/website/install/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
2 /home/website/install/public_html/wp-includes/pluggable.php(1102): apply_filters()
3 /home/website/install/public_html/wp-login.php(1390): wp_clear_auth_cookie()
4 {main}
The topic ‘Plugin causing an error on the website’ is closed to new replies.