WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Upgrade to 3.9.1 and no one can login. (4 posts)

  1. Cleanshooter
    Member
    Posted 3 weeks ago #

    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

  2. Cleanshooter
    Member
    Posted 3 weeks ago #

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

  3. Cleanshooter
    Member
    Posted 3 weeks ago #

    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...

  4. Cleanshooter
    Member
    Posted 3 weeks ago #

    Was bad plugin code in a constructor... n/m

Reply

You must log in to post.

About this Topic

Tags

No tags yet.