Title: OTP code always incorrect
Last modified: June 27, 2025

---

# OTP code always incorrect

 *  Resolved [ilyena](https://wordpress.org/support/users/ilyena/)
 * (@ilyena)
 * [11 months, 1 week ago](https://wordpress.org/support/topic/otp-code-always-incorrect/)
 * Hello,
 * The OTP code is always incorrect, even I copy/paste it. Could you please help
   me ? It was working yesterday…
 * Thank you
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fotp-code-always-incorrect%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [gaurav1092](https://wordpress.org/support/users/gaurav1092/)
 * (@gaurav1092)
 * [11 months, 1 week ago](https://wordpress.org/support/topic/otp-code-always-incorrect/#post-18530968)
 * Hi [@ilyena](https://wordpress.org/support/users/ilyena/),
 * It’s possible that a recent plugin update or conflict is causing the OTP to fail.
 * Please try deactivating all other plugins except **Customer Email Verification
   for WooCommerce** and **WooCommerce**, then test the OTP again.
 * Also, the page you mentioned — `/login-authentication/` — is not part of the **
   Free** version of the plugin. Could you confirm if you’re using the **PRO** version
   or the **Free** version?
 * Thanks
 *  Thread Starter [ilyena](https://wordpress.org/support/users/ilyena/)
 * (@ilyena)
 * [11 months, 1 week ago](https://wordpress.org/support/topic/otp-code-always-incorrect/#post-18531514)
 * Hello [@gaurav1092](https://wordpress.org/support/users/gaurav1092/),
 * There were updates yesterday, but I was able to login after they installed. It’s
   even worse after deactivating all other plugins: I don’t receive the OTP email,
   and when I click on Try again, I get the error below.
 * I’m using the PRO version, and not using the popup.
   Error:
 * **Warning**: Attempt to read property “display_name” on false in **/home/clients/
   591afd7bf1c769cbf5197fa78528b61c/sites/annesophiewichser.ch/wp-content/plugins/
   customer-email-verification/includes/class-wc-customer-email-verification-email-
   common.php** on line **327**
   **Fatal error**: Uncaught Error: Call to undefined
   function PHPMailer\PHPMailer\mail() in /home/clients/591afd7bf1c769cbf5197fa78528b61c/
   sites/annesophiewichser.ch/wp-includes/PHPMailer/PHPMailer.php:880 Stack trace:#
   0 /home/clients/591afd7bf1c769cbf5197fa78528b61c/sites/annesophiewichser.ch/wp-
   includes/PHPMailer/PHPMailer.php(1968): PHPMailer\PHPMailer\PHPMailer->mailPassthru(‘
   as.wichser@hotm…’, ‘New sign-in fro…’, ‘<!DOCTYPE html>…’, ‘Date: Fri, 27 J…’,
   NULL) #1 /home/clients/591afd7bf1c769cbf5197fa78528b61c/sites/annesophiewichser.
   ch/wp-includes/PHPMailer/PHPMailer.php(1691): PHPMailer\PHPMailer\PHPMailer->
   mailSend(‘Date: Fri, 27 J…’, ‘<!DOCTYPE html>…’) #2 /home/clients/591afd7bf1c769cbf5197fa78528b61c/
   sites/annesophiewichser.ch/wp-includes/PHPMailer/PHPMailer.php(1523): PHPMailer\
   PHPMailer\PHPMailer->postSend() #3 /home/clients/591afd7bf1c769cbf5197fa78528b61c/
   sites/annesophiewichser.ch/wp-includes/pluggable.php(547): PHPMailer\PHPMailer\
   PHPMailer->send() #4 /home/clients/591afd7bf1c769cbf5197fa78528b61c/sites/annesophiewichser.
   ch/wp-content/plugins/customer-email-verification/includes/cev-pro-login-authentication.
   php(364): wp_mail(Array, ‘New sign-in fro…’, ‘<!DOCTYPE html>…’, Array) #5 /home/
   clients/591afd7bf1c769cbf5197fa78528b61c/sites/annesophiewichser.ch/wp-content/
   plugins/customer-email-verification/includes/cev-pro-login-authentication.php(
   525): WC_Customer_Email_Verification_Login_Authentication->send_login_otp_email(‘
   as.wichser@hotm…’, ‘283663’) #6 /home/clients/591afd7bf1c769cbf5197fa78528b61c/
   sites/annesophiewichser.ch/wp-includes/class-wp-hook.php(324): WC_Customer_Email_Verification_Login_Authentication-
   >cev_resend_login_otp_email(Object(WP)) #7 /home/clients/591afd7bf1c769cbf5197fa78528b61c/
   sites/annesophiewichser.ch/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”,
   Array) #8 /home/clients/591afd7bf1c769cbf5197fa78528b61c/sites/annesophiewichser.
   ch/wp-includes/plugin.php(565): WP_Hook->do_action(Array) #9 /home/clients/591afd7bf1c769cbf5197fa78528b61c/
   sites/annesophiewichser.ch/wp-includes/class-wp.php(835): do_action_ref_array(‘
   wp’, Array) #10 /home/clients/591afd7bf1c769cbf5197fa78528b61c/sites/annesophiewichser.
   ch/wp-includes/functions.php(1342): WP->main(”) #11 /home/clients/591afd7bf1c769cbf5197fa78528b61c/
   sites/annesophiewichser.ch/wp-blog-header.php(16): wp() #12 /home/clients/591afd7bf1c769cbf5197fa78528b61c/
   sites/annesophiewichser.ch/index.php(17): require(‘/home/clients/5…’) #13 {main}
   thrown in **/home/clients/591afd7bf1c769cbf5197fa78528b61c/sites/annesophiewichser.
   ch/wp-includes/PHPMailer/PHPMailer.php** on line **880**
 * There has been a critical error on this website.
 *  Plugin Author [gaurav1092](https://wordpress.org/support/users/gaurav1092/)
 * (@gaurav1092)
 * [11 months ago](https://wordpress.org/support/topic/otp-code-always-incorrect/#post-18533454)
 * Hi [@ilyena](https://wordpress.org/support/users/ilyena/),
 * From the warning and error log, I can confirm that this issue is related to the**
   Customer Email Verification for WooCommerce PRO** plugin from WooCommerce:
   👉
   [https://woocommerce.com/products/customer-email-verification/](https://woocommerce.com/products/customer-email-verification/)
 * Please log in to your WooCommerce account and contact their support team directly
   from this page:
   🔗 [https://woocommerce.com/my-account/contact-support/#contact-us](https://woocommerce.com/my-account/contact-support/#contact-us)
 * They’ll be able to assist you further with this issue.
 * Best Regards,
   Gaurav

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘OTP code always incorrect’ is closed to new replies.

 * ![](https://ps.w.org/customer-email-verification-for-woocommerce/assets/icon-
   256x256.png?rev=2253659)
 * [Customer Email Verification for WooCommerce](https://wordpress.org/plugins/customer-email-verification-for-woocommerce/)
 * [Support Threads](https://wordpress.org/support/plugin/customer-email-verification-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/customer-email-verification-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/customer-email-verification-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/customer-email-verification-for-woocommerce/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [gaurav1092](https://wordpress.org/support/users/gaurav1092/)
 * Last activity: [11 months ago](https://wordpress.org/support/topic/otp-code-always-incorrect/#post-18533454)
 * Status: resolved