• Resolved hero2

    (@hero2)


    At least 3 weeks have passed, since others made you aware about the problem that it is not possible to login to WordPress, if Wordfence is activated, because of the following error. Even if CAPTCHA has been deactivated in the Wordfence settings, and the ‘W3 Total Cache’ plugin has been emptied and deactivated:

    CAPTCHA EXPIRED: The CAPTCHA verification for this login attempt has expired. Please try again.”

    I am getting near to the point when I have to conclude that Wordfence is not longer a functioning plugin and that I have to replace it with something else.

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

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

    (@wfpeter)

    Hi @hero2, my apologies, I did miss your diagnostic come in and I’ve picked it up.

    There was a W3 Total Cache release that tries to disable the object cache on February 24, and CAPTCHA issues started occurring for a small number of customers on February 25 onwards. We were eventually able to reproduce the issue although for some users it cleared up either when the cache finally expired, or another event/manual action cleared the cache.

    Now, I see that you’ve disabled W3TC, but there is an object-cache.php still active in diagnostics as a Drop-In WordPress Plugin. That is precisely how we were able to reproduce the problem at our end. Enabling the object cache, flushing it, and disabling it again may help. If the file is still present even after that, you may need to check its file permissions. It should always be removed automatically when disabling the object cache if it has permission to do so.

    Feel free to send a copy of the file to the same email address as before, putting your forum username in the subject line.

    Thanks again,
    Peter.

    Thread Starter hero2

    (@hero2)

    Thank you for your response. Yes, it worked:

    1. Disabling Wordfence in my webhost controlpanel.
    2. Login to WordPress.
    3. Activate W3 Total Cache and Wordfence.
    4. Enable Object Cache (ignoring warning)…
    5. Emptying all caches.
    6. Disabling Object cache again.
    7. (Now both Wordfence and W3 Total Cache is active, but without 2-factor identification and without any caches.)
    8. Log out of WordPress.
    9. Login again – worked (without 2-factor ID or error messages).

    Now the question is if I can have 2-factor identification in some way, and if I can have some kind of caching…?

    Plugin Support wfpeter

    (@wfpeter)

    Hi @hero2,

    You should be able to reenable 2FA without issue, although if you do experience a problem rename /wp-content/plugins/wordfence plugin folder to “wordfence_bak” (without quotes). This should let you access and log into your site normally immediately. You can then rename the folder back to “wordfence” as 2FA is effectively disabled again by doing this.

    If you let us know that happened and the specific behavior or error messages you received when it failed, we’ll take another look for you.

    Let us know how you get on,
    Peter.

    Thread Starter hero2

    (@hero2)

    OK. But pressing the “Activate” button on https://www.transformation.dk/wp-admin/admin.php?page=WFLS#top#manage does nothing…!?

    Thread Starter hero2

    (@hero2)

    It would be nice to know why the “Activate” button on the Wordfence 2-factor authentication settings page does not work. As you know, I did have 2-factor authentication before. And I would like to activate it again…!

    So, you can use 2fa, just don’t use w3 total cache lol.

    Uninstall W3 Total cache, remove all files, delete the object-cache.php from your /public/wp-content folder then reactivate 2fa, I think security wins over speed

    Thread Starter hero2

    (@hero2)

    Good idea to remove W3 Total Cache and all of it’s files.

    Now I got 2-factor authentication to work again.

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

The topic ‘Impossible to login with Wordfence activated, because of “CAPTCHA EXPIRED”’ is closed to new replies.