Skip Navigation

[Resolved] wpv-login-form throws 404 on login error

This support ticket is created 5 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 3 replies, has 2 voices.

Last updated by Christian Cox 5 years, 5 months ago.

Assisted by: Christian Cox.

Author
Posts
#1392631
Página não encontrada – Grupo Editorial Summus - Google Chrome_385.png

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"]

#1392753
Screen Shot 2019-11-26 at 4.49.44 PM.png

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).

#1392763

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

#1392859

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.