• Received following errors when directed to the WP login screen and could not login.

    Warning: array_keys() expects parameter 1 to be array, null given in /home/content/95/10680695/html/wp-content/plugins/peters-login-redirect/wplogin_redirect.php on line 147

    Warning: array_keys() expects parameter 1 to be array, null given in /home/content/95/10680695/html/wp-content/plugins/peters-login-redirect/wplogin_redirect.php on line 151

    Warning: in_array() expects parameter 2 to be array, null given in /home/content/95/10680695/html/wp-content/plugins/peters-login-redirect/wplogin_redirect.php on line 151

    Any idea on what the issue is? Thanks

    https://wordpress.org/plugins/peters-login-redirect/

Viewing 1 replies (of 1 total)
  • Chris Dillon

    (@cdillon27)

    Those lines are trying to get the user’s roles. If you are logged out then those values would be null.

    When you say “could not login” do you mean you mis-typed the username or password so the login screen reloaded?

    What are your URL settings?

Viewing 1 replies (of 1 total)
  • The topic ‘Errors on Redirect’ is closed to new replies.