Undefined property: XenForo_ControllerResponse_Error

kankan

Well-known member
Hello

In my server logs i am facing this error?
What does it means?

Regards

Undefined property: XenForo_ControllerResponse_Error::$templateName today at 07:07 - library/RegistrationRedirect/Extend/ControllerPublic/Register.php:32

Here is the content of the file :

PHP:
<?php
 
 
/**
* @xfcp XenForo_ControllerPublic_Register
*
*/
class RegistrationRedirect_Extend_ControllerPublic_Register extends
#XenForo_ControllerPublic_Register
XFCP_RegistrationRedirect_Extend_ControllerPublic_Register
{
public function actionRegister()
{
$parentReturn = parent::actionRegister();
if ($newReturn = $this->RedirectIfNeeded($parentReturn)){
return $newReturn;
}
return $parentReturn;
}
 
public function actionFacebookRegister()
{
$parentReturn = parent::actionFacebookRegister();
if ($newReturn = $this->RedirectIfNeeded($parentReturn)){
return $newReturn;
}
return $parentReturn;
}
 
 
protected function RedirectIfNeeded($parentReturn){
if ($parentReturn && $parentReturn->templateName == 'register_process'){
return $this->responseRedirect(
XenForo_ControllerResponse_Redirect::RESOURCE_CREATED,
XenForo_Link::buildPublicLink('posts', array('post_id' => 69289))
);
}
return false;
}
 
}
 
Back
Top Bottom