Change empty to is_null
Change parent::initialize(); to parent::_initialize();
Still wrong
if(is_null(USER_ID)) { $this -> error('The user is not logged in and has no access rights, please log in',url('user/login')); }
Change empty to is_null
Change parent::initialize(); to parent::_initialize();
Still wrong
if(is_null(USER_ID)) {
$this -> error('The user is not logged in and has no access rights, please log in',url('user/login'));
}