Bug when Administrators log in
-
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; }
- The topic ‘Bug when Administrators log in’ is closed to new replies.