Duplicate Undefined index: associate_login (XenForo 1.5.3)

xfrocks

Well-known member
Got this error message since 1.5.3

ErrorException: Undefined index: associate_login - library/XenForo/ControllerPublic/Register.php:1491

Stack Trace
#0 /.../xenforo/library/XenForo/ControllerPublic/Register.php(1491): XenForo_Application::handlePhpError(8, 'Undefined index...', '/blah/blah...', 1491, Array)
#1 /.../xenforo/library/XenForo/ControllerPublic/Register.php(663): XenForo_ControllerPublic_Register->_associateExternalAccount()
#2 /.../xenforo/library/XenForo/FrontController.php(351): XenForo_ControllerPublic_Register->actionFacebookRegister()
#3 /.../xenforo/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#4 /.../xenforo/index.php(13): XenForo_FrontController->run()
#5 {main}

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)
            );
        }
 
Top Bottom