1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Duplicate Undefined index: associate_login (XenForo 1.5.3)

Discussion in 'Resolved Bug Reports' started by xfrocks, Dec 14, 2015.

  1. xfrocks

    xfrocks Well-Known Member

    Got this error message since 1.5.3

    These lines in Register.php...

    PHP:
    if (!$userId)
            {
                
    $loginModel->logLoginAttempt($associate['associate_login']);
                throw 
    $this->responseException(
                    
    $this->responseError($error)
                );
            }
    Should be...

    PHP:
    if (!$userId)
            {
                
    $loginModel->logLoginAttempt($visitor['username']);
                throw 
    $this->responseException(
                    
    $this->responseError($error)
                );
            }
     
  2. Mike

    Mike XenForo Developer Staff Member

Share This Page