WordPress.org

Forums

OpenID Plugin (WP 2.5) calls non-existant error() method. (3 posts)

  1. kherge
    Member
    Posted 7 years ago #

    This bit of code in logic.php fails:

    if( ! wp_login( $user->user_login, md5($user->user_pass), true ) ) {
    					$this->error = 'User was created fine, but wp_login() for the new user failed. '
    						. 'This is probably a bug.';
    					$this->action= 'error';
    					$this->core->log->error( $this->error );
    					break;
    				}

    Do I need to enter a password in the password box? This should be described above the input text box for the OpenID URL.

  2. Will Norris
    Member
    Posted 7 years ago #

    patch has been applied in just-released version (2.1.8). Thanks.

    http://wordpress.org/extend/plugins/openid/other_notes/

  3. peeloo
    Member
    Posted 7 years ago #

    I've replace the code by the following lines, and it works fine now :)

    if( ! wp_login($oid_user_data['user_login'], $oid_user_data['user_pass'], true ) ) {
    					$this->error = 'User was created fine, but wp_login() for the new user failed. '
    						. 'This is probably a bug.';
    					$this->action= 'error';
    					//$this->core->log->error( $this->error );
    					break;
    				}

Topic Closed

This topic has been closed to new replies.

About this Topic