Ciritcal error on PHP 8
-
After upgrading to PHP8, I’m getting the following error.
Error Details
=============
An error of type E_ERROR was caused in line 291 of the file /public/wp-content/plugins/wp-2fa/includes/classes/Authenticator/class-authentication.php. Error message: Uncaught Exception: Invalid characters in the base32 string. in /public/wp-content/plugins/wp-2fa/includes/classes/Authenticator/class-authentication.php:291
Stack trace:
#0 /public/wp-content/plugins/wp-2fa/includes/classes/Authenticator/class-authentication.php(255): WP2FA\Authenticator\Authentication::base32_decode()
#1 /public/wp-content/plugins/wp-2fa/includes/classes/Authenticator/class-authentication.php(234): WP2FA\Authenticator\Authentication::calc_totp()
#2 /public/wp-content/plugins/wp-2fa/includes/classes/Authenticator/class-login.php(903): WP2FA\Authenticator\Authentication::is_valid_authcode()
#3 /public/wp-content/plugins/wp-2fa/includes/classes/Authenticator/class-login.php(719): WP2FA\Authenticator\Login::validate_totp_authentication()
#4 /public/wp-includes/class-wp-hook.php(307): WP2FA\Authenticator\Login::login_form_validate_2fa()
#5 /public/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#6 /public/wp-includes/plugin.php(476): WP_Hook->do_action()
#7 /public/wp-settings.php(620): do_action()
#8 /public/wp-config.php(182): require_once(‘…’)
#9 /public/wp-load.php(50): require_once(‘…’)
#10 /public/wp-login.php(12): require(‘…’)
#11 {main}
thrown`
- The topic ‘Ciritcal error on PHP 8’ is closed to new replies.