Fixed cases there $this->site wasn't set