I am trying to: When username/password is not correct, instead of error message user gets a 404 page
Link to a page where the issue can be seen: hidden link
I expected to see: hidden link with some error message.
Instead, I got: hidden link
(390.487.242-79 is a valid username, you can try to log in using the password gw721xl12 (it is a development site yet)
The shortcode is: [wpv-login-form redirect_url="hidden link" allow_remember="true" remember_default="true"]
Hi, this is unusual because I was able to log in successfully using the information you provided. Is it possible there is a cookie or cache issue in your browser? Can you try using a different browser to test this login criteria? I'm attaching a screenshot here showing where I was directed after login (I hid some private information in the screenshot).
Hi Christian
The error occurs only when the user enters incorrect credentials. Instead of an usual error message it throws a 404 page.
Try to log in with arbitrary data and you'll notice.
Regards
Alex
Oh I misunderstood. I ran a quick test locally and I see the normal error without a 404 so I suspect something else is going on. Can you try these troubleshooting steps and let me know the results?
- Temporarily deactivate all plugins except Types and Views
- Activate a default theme like Twenty Nineteen
- Test the login form again with invalid credentials.
- If the 404 error is not displayed, this indicates a conflict with the theme or another plugin. Try reactivating Toolset Access first so see if the error returns. If so, it's probably a configuration issue we can investigate in the Access settings. If not, then continue reactivating your theme and other plugins one by one until the problem returns.
- If the 404 error is still displayed with only Types and Views active with a default theme, I'll need to take a closer look.
If you're not able to run tests on the live site, a development environment will be fine. If that's not available, I can log in and make a clone of the site to run tests locally without disturbing the live site. Let me know how you would like to proceed.