• cdukes

    (@walkinonwat3r)


    Hi,

    Thanks for bringing GA to WordPress! I’m receiving the following error on a fresh install login page: Notice: Trying to get property of non-object in […]/google-authenticator/google-authenticator.php on line 174

    I believe the issue is an empty $user object at this point (since there is no $user before someone tries to log in).

    Thanks!

    http://wordpress.org/extend/plugins/google-authenticator/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Henrik Schack

    (@henrikschack)

    Hi Cooper
    Could you give me the exact steps needed to recreate this issue ?

    Best regards
    Henrik Schack

    Thread Starter cdukes

    (@walkinonwat3r)

    Hi Henrik,

    This was on a fresh WP 3.5.1 install, with just the plugin.

    – Enable it on an (admin) profile.
    – Logout

    The error was on the /wp-login.php screen, and was fixed by adding a !empty($user) check on the indicated line (though I’m not sure if this is secure).

    Thanks,
    ~Cooper

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘wp-login.php Error’ is closed to new replies.