- Support forum for the Customer Email Verification for WooCommerce.
Tagged: critical error, email verification
- This topic has 3 replies, 3 voices, and was last updated 1 year ago by Gerald.
-
AuthorPosts
-
September 12, 2023 at 6:12 am #123952GeraldParticipant
Hi, when I change the mail function (E-Mail options) from wc_mail() to wp_mail() or mail(), I get the following critical error. Due to spf, I need to use the wp_mail smtp and not the woocommerce system. Any ideas how to fix that?
The error:
Fatal error: Uncaught Error: Class “WC_Email” not found in /xxx/wp-content/plugins/email-verification-for-woocommerce-pro/includes/pro/class-alg-wc-ev-pro.php:688 Stack trace: #0 /xxx/wp-includes/class-wp-hook.php(310): Alg_WC_Email_Verification_Pro->maybe_add_wc_email_style(‘IMPORTANT:\r\n<br…’, ‘wp_mail’) #1 /xxx/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘IMPORTANT:\r\n<br…’, Array) #2 /xxx/wp-content/plugins/email-verification-for-woocommerce-pro/includes/class-alg-wc-ev-emails.php(380): apply_filters(‘alg_wc_ev_send_…’, ‘IMPORTANT:\r\n<br…’, ‘wp_mail’) #3 /xxx/wp-content/plugins/email-verification-for-woocommerce-pro/includes/class-alg-wc-ev-emails.php(306): Alg_WC_Email_Verification_Emails->send_mail(‘xxx@gmail…’, ‘Please activate…’, ‘IMPORTANT:\r\n<br…’) #4 /xxx/wp-content/plugins/email-verification-for-woocommerce-pro/includes/class-alg-wc-ev-core.php(744): Alg_WC_Email_Verification_Emails->reset_and_mail_activation_link(‘264’) #5 /xxx/wp-includes/class-wp-hook.php(310): Alg_WC_Email_Verification_Core->resend(”) #6 /xxx/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(false, Array) #7 /xxx/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #8 /xxx/wp-settings.php(632): do_action(‘init’) #9 /xxx/wp-config.php(41): require_once(‘/www/htdocs/w01…’) #10 /xxx/wp-load.php(50): require_once(‘/www/htdocs/w01…’) #11 /xxx/wp-blog-header.php(13): require_once(‘/www/htdocs/w01…’) #12 /xxx/index.php(17): require(‘/www/htdocs/w01…’) #13 {main} thrown in /xxx/wp-content/plugins/email-verification-for-woocommerce-pro/includes/pro/class-alg-wc-ev-pro.php on line 688
September 13, 2023 at 11:35 am #124024MoshtafizurParticipantHi there,
I am really sorry to know you are experiencing problems.
I have escalated this with our development team. They will get back to you as soon as they can.
Kind regards,
MoshtafizurSeptember 14, 2023 at 10:14 pm #124087pablo-pachecoModeratorHi Gerald,
I believe I was able to fix the issue on version 2.6.0 I just released.
Please, update the plugin and let me know if it helps.
September 15, 2023 at 6:24 am #124094GeraldParticipantHi Pablo, thanks a lot for getting back to me and trying to fix the error! I appreciate it. I have updated the plugin. Unfortunately, when changing to the wp_mail function in the plugin, I still get the error:
1. I get the email asking me to verify the email. When I click the link (https://xxx/my-account/?alg_wc_ev_verify_email=…), I get a critical error.
2. In the dashboard, I get the warning that the email is not verified. When I click the link, I also get the critical error.
-
AuthorPosts
- You must be logged in to reply to this topic.