• Resolved Cleanshooter

    (@cleanshooter)


    We just conducted an upgrade test to WordPress 3.9.1 on our development server and after the upgrade no one can log in except Netwrok Admins and even then there is a redirect issue.

    If I attempt to log into any site (via /wp-admin) I am re-directed to the login.php and presented with the “Network Admins Only” warning. This is strange because I am a Network Admin. If I hit refresh I get to the dashboard. However if a non-network admin user attempts to login they get the same thing and the refresh trick does not work.

    Environment:
    WordPress 3.9.1
    IIS 7.5.7600
    PHP 5.3.13

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Cleanshooter

    (@cleanshooter)

    I have found the problem it was one of the MU plugins I had installed.

    Thread Starter Cleanshooter

    (@cleanshooter)

    Further inspection reveals that
    add_action( ‘wp_login’, array(__CLASS__, ‘last_login’), 10, 2);

    No longer works as expected. For some reason the last 2 parameters for the function (10, 2) prevent normal login.

    Posting to trac…

    Thread Starter Cleanshooter

    (@cleanshooter)

    Was bad plugin code in a constructor… n/m

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Upgrade to 3.9.1 and no one can login.’ is closed to new replies.