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

Undefined property: XenForo_ControllerResponse_Error

Discussion in 'Troubleshooting and Problems' started by kankan, May 29, 2013.

  1. kankan

    kankan Active 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;
    }
     
    }
     
  2. xf_phantom

    xf_phantom Well-Known Member

    that's a bug / problem in an addon (RegistrationRedirect ? )
     
    kankan likes this.

Share This Page