• Myself and some other uses have been getting an error message upon trying to login to our site with this plugin. As soon as you enter the 2 factor code you get the generic WordPress site error screen.

    This seems to have started randomly, can be temporarily alleviated by deleting 2 factor on a user and re-setting it up.

    The WordPress version is 6.0.2

    Site is NOT a multisite

    The PHP version is 7.4

    Plugin version is 2.3.0

    The 2 factor method me and the other users are using is through an authenticator app

    If there is any other info that would be helpful please let me know and I will follow up with it, thank you!

    Here are the contents of the error:

    An error of type E_ERROR was caused in line 291 of the file /nas/content/live/zolacreative/wp-content/plugins/wp-2fa/includes/classes/Authenticator/class-authentication.php. Error message: Uncaught Exception: Invalid characters in the base32 string. in /nas/content/live/zolacreative/wp-content/plugins/wp-2fa/includes/classes/Authenticator/class-authentication.php:291 
    Stack trace: 
    #0 /nas/content/live/zolacreative/wp-content/plugins/wp-2fa/includes/classes/Authenticator/class-authentication.php(255): WP2FA\Authenticator\Authentication::base32_decode('}F;.\x17VM\xDE\xBB\xF3\x8A]\xC9[\xE6...') 
    #1 /nas/content/live/zolacreative/wp-content/plugins/wp-2fa/includes/classes/Authenticator/class-authentication.php(234): WP2FA\Authenticator\Authentication::calc_totp('}F;.\x17VM\xDE\xBB\xF3\x8A]\xC9[\xE6...', 55499463.6) 
    #2 /nas/content/live/zolacreative/wp-content/plugins/wp-2fa/includes/classes/Authenticator/class-login.php(903): WP2FA\Authenticator\Authentication::is_valid_authcode('}F;.\x17VM\xDE\xBB\xF3\x8A]\xC9[\xE6...', '99609912') 
    #3 /nas/content/live/zolacreative/wp-content/plugins/wp-2fa/includes/classes/Authenticator/class-login.php(719): WP2FA\Authenticator\Login::validate_totp_authentication(O
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor robertabela

    (@robert681)

    Hello @zoladesigners

    Thank you for your post. Indeed, this is an issue a few users have encountered. However, so far we do not have enough information and we have been unable to reproduce it. So we have not been able to identify the source of the problem.

    We’ve been asking users affected by this problem to send us an email at [email protected] so we can ask for more technical details about the website’s setup that cannot be shared on the forum, but so far no one got back to us. If you can send us an email we would really appreciate it. Please make reference to this thread in your email.

    We look forward to hearing from you.

    Thread Starter zoladesigners

    (@zoladesigners)

    Email sent, thank you!

    Plugin Contributor robertabela

    (@robert681)

    Hello @zoladesigners

    Updating this ticket as a record for other users as well. The error is happening because the Sucuri security plugin is changing the WordPress salts in the wp-config.php file, and our plugin uses these salts to encrypt data etc.

    At the moment we are working on a solution to counter this problem.

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

The topic ‘Login Throws Error After 2 Factor is Setup’ is closed to new replies.