Errors about non-initialized variable self::$request