• Hello,

    I have a problem when enabling Wordfence that’s look like this one : https://www.ads-software.com/support/topic/wordfence-and-login-page-messages/

    When WordFence is activated : if I ask for a new password and enter a wrong e-mail, I don’t have the error message but the message in english (even if I’ve translated it in french with Loco)
    If I deactivate WordFence : no problem

    May you help me to fix this problem please?

    Have a nice day

    PS: I tried with only Wordfence and WooCommerce activated and with Blocksy then StoreFront themes => Same problem

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @fantou, thanks for reaching out to us.

    Can I confirm that the issue is of the error messages not appearing translated, or have you disabled Wordfence because there is a problem with the registration, password reset or login process in general?

    If it’s translations only, am I correct in the assumption they are appearing in French when Wordfence is disabled but revert to English when it’s enabled?

    Please note at this point that our Login Security module supports WordPress and WooCommerce default login/registration pages, but not custom pages or those created by other user management/custom form plugins or themes. This may not be applicable in your case, but it may help anybody else referencing the topic.

    Many thanks,
    Peter.

    Thread Starter Fantou

    (@fantou)

    Hi @wfpeter

    Thanks for your answer.

    Yes the problem was the translation appeared in english when WordFence activated and french when deactivated.

    Also, when WordFence activated : when I ask for a new password and enter a wrong email, I don’t have the classical error message from WooCommerce (something like “we do’nt have this email”) but the classical success message (something like :”we send you an email, go check it for the new password”)

    When I deactivated WordFence, it is ok

    But there are some changements since the last time I posted.
    Now, when WordFence is activated : I have no more translation problem.

    But there is still the other problem.

    I’ve noticed this too : in an another site, WordFence is not activated but there is a plugin from the hosting in order to have some protections.
    And it is like with Wordfence : when activated, no error message for wrong email, when deactivated : it is ok.

    To complete : on the first site, I don’t have this hosting’s plugin

    So I think there is a same setting in the two plugins which cause this issue. But I can’t find which…

    Have you ever encoutered this problem?

    Thread Starter Fantou

    (@fantou)

    Hi @wfpeter

    Don’t know if you still look at this problem but I’v seen in my error log these lines:

    PHP Warning: Undefined variable $user_login in /wp-login.php on line 1428
    PHP Warning: Undefined variable $user_login in /wp-login.php on line 1512
    PHP Warning: Undefined variable $error in /wp-login.php on line 1534

    Could it be related to my problem?

    Plugin Support wfpeter

    (@wfpeter)

    Those warnings could be related as the variables seem consistent with the login flow, although warnings are non-fatal so shouldn’t be preventing correct operation on your site by default.

    If you can confirm you’re not using a non-default login page (such as one generated by a user management plugin or a custom form from a theme), I would try some tests without reCAPTCHA/2FA enabled to see if they work with Wordfence enabled. There could be a plugin conflict so running Wordfence as the only plugin enabled, along with a default theme like Twenty Twenty-Three would be another good check. If the login process works as intended, enable your other plugins and theme one-by-one to see when it stops working again.

    Thanks,
    Peter.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Wrong error message login/reset password WooCommerce’ is closed to new replies.