Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Support wfphil

    (@wfphil)

    Hi @densitysk

    I looked at your WooCommerce login/registration page here:

    https://www.density.sk/my-account/

    A DIV element with the ID primary is missing from your WooCommerce login/registration page that is added by WooCommerce by default. This is where we append and display login error messages such as for failing the CAPTCHA test.

    It is likely that your theme is overriding default WooCommerce functionality and removing the DIV element with the ID primary. Please ask your theme author if they have done this. If they confirm that is the case, then ask them for assistance in adding back the default WooCommerce DIV element with the ID primary that is missing and let me know if that fixes it.

    We also have a bug case to fix this in the future with a fallback method for displaying login error messages on sites that are missing the default WooCommerce DIV element with the ID primary.

    Thread Starter DensitySK

    (@densitysk)

    HI,

    Thank you for your answer, but I definitely have to disagree as all troubleshooting steps have lead to Wordfence plugin to be the root cause (and other users here on forum having the same issue as well)

    Step 1:
    Disable all plugins except Wordfence – customer login page not working
    Step 2:
    Switch to a a default Storefront theme – customer login page not working
    Step 3:
    Leaving all plugins enabled and disabling Captcha for login pages – customer login page still not working

    Step 4:
    Disabling Wordfence plugin – all login pages work perfectly on various themes
    Step 5:
    Enabling Wordfence plugin and DISABLING Wordfence Woocommerce integration – TA DAAA…all login pages are back to working normal

    Therefore it is this specific Wordfence setting that is causing the issue and not the theme.

    Therefore please investigate it and fix it in future update.

    Here is also an aditional comment from the theme creators:

    I tested on your site with Storefront ( the standard WooCommerce Theme ), the error with Wordfence enabled is still wrong, see the username / password is entered, but the error doesn’t state the Wordfence’s Captcha Error, but that the username / password fields should be filled: https://imgur.com/a/8h2oQUL
    it looks like with Shoppe Theme on your site the errors aren’t showing up at all, but this is just on your site, we didn’t remove the div they mentioned
    but that is not the point, the issue is that you have enabled Captcha in Wordfence that won’t let you log in, you can try any theme, it won’t work due to Wordfence Captcha setup, please disable that feature in Wordfence or at least try deactivating Wordfence to see how it works`

    Thread Starter DensitySK

    (@densitysk)

    Sorry..I am not a programmer.

    Do you mean this? Storefront theme enabled and wordfence woocommerce integration activated

    View post on imgur.com

    Plugin Support wfphil

    (@wfphil)

    Hi @densitysk

    Thank you for the update.

    Did you test with a default WordPress theme such as Twenty Twenty One?

    https://en-gb.wordpress.org/themes/twentytwentyone/

    Thread Starter DensitySK

    (@densitysk)

    It was already tested with the default Woocommerce Storefront theme. To my knowledge that is the most default WordPress Woocommerce theme. But still the same issue persist there as well

    Plugin Support wfphil

    (@wfphil)

    Hi @densitysk

    Thank you for the clarification that you tested with a theme developed by WooCommerce themselves.

    Can you test it with the WordPress theme Twenty Twenty One below and let me know if you still have the same problem?

    https://en-gb.wordpress.org/themes/twentytwentyone/

    Also can you send your Wordfence diagnostics report so I can see if you have any Must Use plugins active. Please go to the top of the “Diagnostics” tab on the Wordfence “Tools” page. There will be a “SEND REPORT BY EMAIL” button to send the diagnostics report. Enter wftest [at] wordfence [dot] com as the email and densitysk as the forum username please.

    Once you have emailed me the diagnostics report can you reply here to let me know that it has been sent. This is important in the unlikely event that your installation of WordPress is having an issue with sending mail.

    Thread Starter DensitySK

    (@densitysk)

    Hi,

    with Twenty Twenty One theme the issue still persists. After enabling Wordfence Woocommerce integration, your plugin prevents customers to log in and shows them error that password and login must be provided even though these are correctly entered.

    Issue is still happening after disabling Captcha

    View post on imgur.com

    Diagnostics report has been sent to you with the forum username mentioned above.

    Please check.

    Thank you

    Plugin Support wfphil

    (@wfphil)

    Hi densitysk

    Thank you for the update.

    Do you have a staging site to deactivate all other plugins except for Wordfence and WooCommerce to see if another plugin is the cause?

    Thread Starter DensitySK

    (@densitysk)

    Hi

    already mentioned in my previous message. Recap below:

    Step 1:
    Disable all plugins except Wordfence – customer login page not working
    Step 2:
    Switch to a a default Storefront theme – customer login page not working
    Step 3:
    Leaving all plugins enabled and disabling Captcha for login pages – customer login page still not working

    Step 4:
    Disabling Wordfence plugin – all login pages work perfectly on various themes
    Step 5:
    Enabling Wordfence plugin and DISABLING Wordfence Woocommerce integration – all login pages are back to working normal`

    Plugin Support wfphil

    (@wfphil)

    Hi @densitysk

    Thank you for the update and my apologies for not recalling that you can carry out full tests anyway.

    I cannot replicate this with the Twenty Twenty One theme and only WooCommerce and Wordfence active.

    Your diagnostics report at the time that it was sent didn’t list any Must Use plugins that were active so that would rule out a Must Use plugin being invloved as long as you still don’t have any active Must Use plugins.

    If you use any kind of password management application can you test logging in manually.

    Can you test in a different browser with any installed browser extensions fully disabled. Don’t use a private or incognito session, disable any installed browser extensions.

    Thread Starter DensitySK

    (@densitysk)

    Hi,

    no problem. I have already tested it in google chrome or firefox. Yes I did use also incognito mode but even without it the issue was the same. Only extensions I use are adblock, but these are disabled when visiting all my webdomains.

    No, I do not use any password management utility other than saved password in the browser itself. But even when I manually copy/paste password, the issue was the same – page did not show any error message whatsoever but it also did not logged me into my customer account. Only after disabling woocommerce integration in WF it worked again. Not sure why.

    Plugin Support wfphil

    (@wfphil)

    Hi @densitysk

    In WooCommerce under Settings >> Accounts & privacy >> Account Creation if you have the option below disabled can you enable it:

    When creating an account, automatically generate an account username for the customer based on their name, surname or email.

    Can you do a hard refresh in your browser of the WooCommerce login page below and let me know if that fixes it?

    Thread Starter DensitySK

    (@densitysk)

    HI,

    I do not use that setting. It is disabled in my Woocommerce. See screenshot:

    View post on imgur.com

    Regards
    Michal

    Plugin Support wfphil

    (@wfphil)

    Hi @densitysk

    Thank you for the update.

    As mentioned in my last reply did you enable the option:

    When creating an account, automatically generate an account username for the customer based on their name, surname or email.

    And then did a hard refresh in your browser of the WooCommerce login page?

    Did that fix it?

    Thread Starter DensitySK

    (@densitysk)

    HI,

    sorry, I misundertood your message.

    I have enabled the setting and now I am able to login with correct details on the customer page when Woocommerce integration is enabled.

    BUT!!!

    One issue still remains. Login works naturally ONLY if the login and password are correct.

    But when the user by mistake enters wrong credentials (i.e. typo in the password) the page does not do anything and does not even show an error message that the password or login is wrong. And if the user does this several times (because he is not aware of any error messages) he gets blocked based on login attempts set in WF.

    Therefore if a user makes a typo, or other error in login, he has no way to know until he is hard-blocked from the login and has to contact me to resolve this

    Regards
    Michal

Viewing 15 replies - 1 through 15 (of 16 total)

The topic ‘Customer login page not working’ is closed to new replies.