Hi @eshkaflex,
You might be running into conflicts with your theme or another plugin. The fastest way to find out for sure is to start by temporarily switching your theme to one of the basic WP themes (e.g.2015/16/17/19/20). Then, if the issue still keeps happening, try turning off other plugins one by one until the problem disappears. The last one that you turned off before the problem is fixed is the one conflicting.
Also, we don’t have a redirect funtction when failing a redirect.
Best Regards.
Hi @yeisonbp
Thanks for your reply. We tried switching to the basic theme and there is still the same behavior. Turning off all the plugins doesn’t help either. We also tried playing with compatibility settings and switching to full/minimized css and jquery.
Should there be failed log in errors? How do they look? It just feels like expected behavior that the page just reloads if wrong password/username.
Also, redirect is not failing. It just reloads the page. It is worth mentioning that the standard WordPress log in page has the failed log in errors and works just fine.
Any other ideas? We appreciate the help.
-
This reply was modified 4 years, 10 months ago by
eshkaflex.
Hi @eshkaflex,
Could you check that the user that is trying to login has the support user capabilities? This happened to me once in the past and it might be the same case. Please check the Support User capabilities for existing users:
– https://getawesomesupport.com/documentation/awesome-support/admin-handling-existing-users-after-installation/
Best Regards.
Hi @yeisonbp
Thanks for your reply. All of our users have Support User capabilities. Please see the screenshot below.
Do you need to be the support user in order for the login page to do error handling? If you take a look at the video in my first post, I just enter random values in the log in form. The page just reloads after unsuccessful log in without showing “wrong password” or something of that nature.
Screenshot
Hi @eshkaflex,
Could you check the debug.log file and send us the messages thrown there? Here is the guide:
Debugging in WordPress
Thanks.
Hi @yeisonbp
Please see the log below:
[11-Aug-2021 10:36:50 UTC] WPf2b: Opened syslog
[11-Aug-2021 10:36:50 UTC] WPf2b: Wrote to syslog: ‘Authentication attempt for unknown user testlogin from 89.187.179.58’
Maybe it will help someone:
The solution was to add session handling to our theme’s functions.php :
/**
* Init session
*/
add_action(‘init’, ‘start_session_wp’, 1);
function start_session_wp()
{
if(!session_id())
{
session_start();
}
}
Hello @eshkaflex
I am facing the same error and seems like adding the following code to child theme functions.php does not resolve the issue
/**
* Init session
*/
add_action(‘init’, ‘start_session_wp’, 1);
function start_session_wp()
{
if(!session_id())
{
session_start();
}
-
This reply was modified 4 years, 7 months ago by
haz02.