• hey!
    For the second time since yesterday, I’m getting the following error message:

    Ein Fehler vom Typ E_ERROR wurde in der Zeile 351 der Datei /var/www/vhosts/h348085.server19.campusspeicher.de/chapter.digital/wp-content/plugins/wp-2fa/includes/classes/WP2FA.php verursacht. Fehlermeldung: Uncaught TypeError: Argument 4 passed to WP2FA\WP2FA::get_wp2fa_setting() must be of the type string, null given, called in /var/www/vhosts/h348085.server19.campusspeicher.de/chapter.digital/wp-content/plugins/wp-2fa/includes/classes/Admin/Controllers/class-settings.php on line 179 and defined in /var/www/vhosts/h348085.server19.campusspeicher.de/chapter.digital/wp-content/plugins/wp-2fa/includes/classes/WP2FA.php:351
    Stack trace:
    #0 /var/www/vhosts/h348085.server19.campusspeicher.de/chapter.digital/wp-content/plugins/wp-2fa/includes/classes/Admin/Controllers/class-settings.php(179): WP2FA\WP2FA::get_wp2fa_setting('grace-policy', false, false, NULL)
    #1 /var/www/vhosts/h348085.server19.campusspeicher.de/chapter.digital/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 /var/www/vhosts/h348085.server19.campusspeicher.de/chapter.digital/wp-content/plugins/wp-2fa/includes/classes/Admin/User.php(89): WP2F

    i had to deactivate the plugin to allow other users to log in.

    too bad!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor robertabela

    (@robert681)

    Hello @dnlhdt

    Thank you for trying our plugin. I am sorry to read you are encountering such an issue.

    Can you please advise what version of WordPress, PHP and the plugin are you running?

    Looking forward to hearing from you.

    Thread Starter dnlhdt

    (@dnlhdt)

    WordPress 5.8.2
    PHP 7.3.29
    Plugin 2.0.0

    Plugin Contributor robertabela

    (@robert681)

    Hello @dnlhdt

    It is very difficult to say what is happening without knowing more context. But looking at the error itself it looks like somehow the user getting the error has no role at all.

    Can you please send us an email to [email protected] so we can troubleshoot this issue please?

    Looking forward to hearing from you.

    Plugin Contributor robertabela

    (@robert681)

    Hello @dnlhdt

    We have seen another case with the same issue and as we thought, it seems this error is triggered when the user trying to log in has no role assigned to it.

    Can you please confirm if this is also the case in your setup?

    Looking forward to hearing from you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Users get serious error message when trying to log in’ is closed to new replies.