• Hey there,
    I’m getting the following error message sent as mail from my wordpress website.
    All plugins are up to date. Using php8.0.

    Basically the same problem as this issue – https://ww.wp.xz.cn/support/topic/periodically-getting-error-from-2fa-plugin/
    There is no impediment on the login behaviour.

    Is this failure known? Is there a fix for it?

    Thanks in advance.

    *****
    A failure of type E_ERROR was found in row 525 of the file xxxxx/wp-content/plugins/wp-2fa/includes/classes/class-wp2fa.php

    Failure message: Uncaught ValueError: Unknown format specifier ” ” in xxxx/wp-content/plugins/wp-2fa/includes/classes/class-wp2fa.php:525

    Stacktrace

    #0 xxxx/wp-content/plugins/wp-2fa/includes/classes/class-wp2fa.php(525): sprintf()
    #1 xxxx/wp-content/plugins/wp-2fa/includes/classes/Cron/class-cron-tasks.php(95): WP2FA\WP2FA::get_wp2fa_email_templates()
    #2 xxxx/wp-content/plugins/wp-2fa/includes/classes/Admin/class-user.php(397): WP2FA\Cron\Cron_Tasks::send_expired_grace_email()
    #3 xxxx/wp-content/plugins/wp-2fa/includes/classes/Authenticator/class-login.php(253): WP2FA\Admin\User->lock_user_account_if_needed()
    #4 xxxx/wp-includes/class-wp-hook.php(307): WP2FA\Authenticator\Login::run_authentication_check()
    #5  xxxx/wp-includes/plugin.php(191): WP_Hook->apply_filters()
    #6  xxxx/wp-includes/user.php(169): apply_filters()
    #7  xxxx/wp-includes/class-wp-hook.php(307): wp_authenticate_username_password()
    #8  xxxx/wp-includes/plugin.php(191): WP_Hook->apply_filters()
    #9  xxxx/wp-includes/pluggable.php(620): apply_filters()
    #10 xxxx/wp-includes/user.php(95): wp_authenticate()
    #11 xxxx/wp-login.php(1221): wp_signon()
    #12 {main}
      thrown

    ****

    WordPress-Version 6.0.2
    PHP-Version 8.0.23
    WP2FA Version: 2.3.0
    Theme: Hello Elementor 2.6.1

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

    (@robert681)

    Thank you for using our plugin @ousiaa.

    I am sorry to read about your issue. This is a different issue than the issue you have linked to.

    Can you please confirm if you are using a translation plugin? If you are, can you please tell us which plugin are you using? It seems there is some compatibility issue.

    Looking forward to hearing from you.

    Thread Starter ousiaa

    (@ousiaa)

    Hey there,
    thanks for your response. Actually we don’t use any translation plugins.

    One odd behavior occurred the last week though. Normally I get these failure messages every day via mail. Last week they stopped for about a week, so I thought it is fixed, but it reoccurred some days ago.

    greets Oliver

    Plugin Contributor robertabela

    (@robert681)

    Hello @ousiaa

    What is the situation at the moment? Are you still receiving emails daily? To troubleshoot this we need to better understand what is happening, so here are some questions for you.

    1) You said that for a week the emails stopped and now they started again. Can you pin point out what was different during that week? Maybe you upgraded something, changed a setting, or maybe some users were not logging in or doing something specific?

    2) How many emails per day do you receive and at what time?

    Looking forward to hearing from you.

    Thread Starter ousiaa

    (@ousiaa)

    Hey there,

    yes I still get them daily – one mail a day at around 2 a.m. to 3 a.m.

    Need to ask the hosting provider – probably they changed something during that week. I’m updating plugins regularly, before the week I updated a bunch of them, and after that week as well. Most of them are related to the Elementor Page Builder plugin.

    Thanks for your help so far =)

    Plugin Contributor robertabela

    (@robert681)

    If you are always receiving the email at the same time, then there is something that is being triggered at that time that is creating this.

    Can you contact your web host to see what operations are being triggered at that time? Another option is to install the WP Crontrol plugin to see if there are any cron jobs running at that time.

    I’m curious to learn what might be causing this issue.

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

The topic ‘A failure of Type E_ERROR was found’ is closed to new replies.