There’s a bug that leads admin-level users to a blank white screen after logging in. They are logged in, just stuck until they navigate to another site page.
Here’s a possible fix on line 50 of SIC_Login_Redirect.php:
Change
if ( in_array( $keyrole, $user->roles ) && $redval != " " ) {
// redirect them to the default place
return $redval;
}
to
if ( in_array( $keyrole, $user->roles ) && $redval != " " ) {
// redirect them to the default place
return $redval;
} else {
return $redirect_to;
}
]]>
On the plugin’s Settings screen, the drop-downs offer only “Default Setting”, no other choice. There’s no way to set redirect URLs. It does seem like something is amiss with the plugin.
]]>I installed this plugin because I was having issues with another redirect plugin.
This one works better, but only half the time.
The other times the login pages just refreshes and doesn’t go to the expected page (it actually logs you in, but the user would never know that!), or it gives a blank page.
Something is amiss. I don’t think it is the plugin. But I am not finding a solution. I have optimized, cleared cache, etc. Not sure what makes it work when it does. Not sure what makes it not work when it doesn’t.
So, if you have a clue, I would love to know what you might suggest.
]]>