• Resolved rhewitt

    (@rhewitt)


    Users are sometimes able to log-in using the plugin (we only have the log-in with Google activated). For example, I was unable to log-in last week, but now I am not having any problems. Other users are experiencing the same intermittent outages. Two error messages are presented:

    Missing argument 2 for limit_login_wp_authenticate_user() in /.../limit-login-attempts.php on line 219

    Cannot modify header information - headers already sent

    I’m reverting back to 4.4 in the hopes that takes care of any issues.

    https://wordpress.org/plugins/oa-social-login/

Viewing 1 replies (of 1 total)
  • Plugin Author Claude

    (@claudeschlesser)

    Hi rhewitt,

    I’m sorry this is a small bug that has slipped through our tests for version 4.6.

    To fix the bug manually you need to open the file communication.php of the plugin and check if you have this code:

    //Check if we can authenticate the user
    $user_data = apply_filters('wp_authenticate_user', $user_data);
    if (! is_wp_error($user_data) )
    {
       //Set the cookie and login
       wp_set_auth_cookie ($user_data->ID, true);
       do_action ('wp_login', $user_data->user_login, $user_data);
    }

    If have this code, then please replace it by.

    wp_set_auth_cookie ($user_data->ID, true);
    do_action ('wp_login', $user_data->user_login, $user_data);

    Alternatively you can also re-install version 4.6, the bugfix is already in the official version.

    Regards,

Viewing 1 replies (of 1 total)
  • The topic ‘Intermittent outages after upgrading from 4.4’ is closed to new replies.