Hi @robert681
Thanks for that.
I saw you changed two files in this new version and I’d say the issue won’t happen anymore. Let’s see… I’ll let this new version run for a few days and keep an I on our RUM tool.
And unfortunately there’s another error:
An error of type E_ERROR was caused in line 351 of the file
.../wp-content/plugins/wp-2fa/includes/classes/WP2FA.php.
Error message: Uncaught TypeError: Argument 4 passed to
WP2FA\WP2FA::get_wp2fa_setting() must be of the type string, null
given, called in
.../wp-content/plugins/wp-2fa/includes/classes/Admin/Controllers/class-settings.php
on line 179 and defined in
.../wp-content/plugins/wp-2fa/includes/classes/WP2FA.php:351
Stack trace:
#0 .../wp-content/plugins/wp-2fa/includes/classes/Admin/Controllers/class-settings.php(179):
WP2FA\WP2FA::get_wp2fa_setting('grace-policy', false, false, NULL)
#1 .../wp-content/plugins/wp-2fa/includes/classes/Admin/User.php(762):
WP2FA\Admin\Controllers\Settings::get_role_or_default_setting('grace-policy',
Object(WP_User))
#2 .../wp-content/plugins/wp-2fa/includes/classes/Admin/User.php(89):
WP2FA\Admin\User->setUserPoliciesAndGrace()
#3 .../wp-content/plugins/wp-2fa/includes/classes/Admin/User.php(72):
WP2FA\Admin\User->update_meta_if_necessary()
#4 .../wp-content/plugins/wp-2fa/includes/classes/Admin/User.php(59):
WP2FA\Admin\User->__
BUT, I guess this error was thrown because I had a WordPress user who had literally no role,. The user was roleless. I already set a role for him.
Do you think the fact that I had a roleless user could have caused this new error?