Deprecated: KATEv2\Commons\KateErrorHandler\ErrorHandler::getAssociativeFormattedErrorLog(): Implicitly marking parameter $vFatalError as nullable is deprecated, the explicit nullable type must be used instead in /app/Commons/KateErrorHandler/ErrorHandler.php on line 399

Deprecated: Constant E_STRICT is deprecated in /app/Commons/KateErrorHandler/ErrorHandler.php on line 66

Deprecated: Constant E_STRICT is deprecated in /app/Commons/KateErrorHandler/ErrorHandler.php on line 68
{ "error": { "description": "Fatal error: error in exception handling while reporting exception.", "message": "Another service invoked by this service using intra-service communication resulted in an error. See details for involved request and resulting error. HTTP status code is dynamically inherited, but defaults to 500.", "details": { "serviceName": "error-reporting", "serviceURI": "https:\/\/error-reporting.api.michel.katedevelopment.com\/register", "error": "error-missing" }, "file": "\/app\/Commons\/KateIntraService\/Request.php", "line": 283, "trace": [ { "file": "\/app\/Commons\/KateAPI\/ErrorReporting\/ErrorReporting.php", "line": 247, "function": "execute", "class": "KATEv2\\Commons\\KateIntraService\\Request", "type": "->", "args": [] }, { "file": "\/app\/Commons\/KateAPI\/KateAPIRunner.php", "line": 271, "function": "reportException", "class": "KATEv2\\Commons\\KateAPI\\ErrorReporting\\ErrorReporting", "type": "::", "args": [ {}, {} ] }, { "function": "onKateErrorHandlerError", "class": "KATEv2\\Commons\\KateAPI\\KateAPIRunner", "type": "::", "args": [ { "fatal": { "errLevel": 64, "level": 3, "type": "ERROR:COMPILE", "msg": "Cannot override final method KATEv2\\Commons\\KateAPI\\KateAPI::__construct()", "file": "\/app\/Notify\/API\/ContactsAPI.php", "line": 22, "trace": [ "01: Error raised\n \\-> Line 0000 in \n(Skipped 3 internal calls)\n" ], "vars": [ 64, "Cannot override final method KATEv2\\Commons\\KateAPI\\KateAPI::__construct()", "\/app\/Notify\/API\/ContactsAPI.php", 22 ], "code": { "17": "use KATEv2\\Notify\\Services\\NsApiClient;", "18": "", "19": "class ContactsAPI extends KateAPI {", "20": " private ContactService $service;", "21": "", "22": " public function __construct(private KateAPIRunner $kateAPIRunner) {", "23": " parent::__construct($this->kateAPIRunner);", "24": " $this->service = new ContactService(new NsApiClient($this->kateAPIRunner));", "25": " }", "26": "", "27": " #[Route('GET', '\/mgmt\/customers\/{customerId}\/contacts', name: 'listContacts', description: 'Lists contacts for a customer in the notification service', group: '9. Notification service')]" }, "mark": [ "kateAPIRunner" ] }, "preceding-non-fatal": [ { "errLevel": 8192, "level": 2, "type": "DEPRECATED:PHP", "msg": "KATEv2\\Commons\\Plugins\\SecureStaticBinary\\SSBinService::getUploadURL(): Implicitly marking parameter $callbackURL as nullable is deprecated, the explicit nullable type must be used instead", "file": "\/Commons\/Plugins\/SecureStaticBinary\/SSBinService.php", "line": 117, "trace": [ "01: KATEv2\\Commons\\KateAPI\\KateAPIRunner->__construct('main', '[OBJECT]')\n \\-> Line 0032 in \/Notify\/bootstrapper.php", "02: KATEv2\\Commons\\KateCache\\Cache->__construct('[OBJECT]')\n \\-> Line 0057 in \/Commons\/KateAPI\/KateAPIRunner.php", "03: KATEv2\\Commons\\KateCache\\Cache::getDefaultCommonsCacheModes('[OBJECT]')\n \\-> Line 0087 in \/Commons\/KateCache\/Cache.php", "04: KATEv2\\PSR4Autoloader->loadClass('KATEv2\\Commons\\Plugi...')\n \\-> Line 0355 in \/Commons\/KateCache\/Cache.php", "05: require_once('\/Commons\/KateErr...')\n \\-> Line 0058 in \/PSR4Autoloader.php", "06: Error raised\n \\-> Line 0058 in \/PSR4Autoloader.php\n(Skipped 2 internal calls)\n" ], "vars": [ 8192, "KATEv2\\Commons\\Plugins\\SecureStaticBinary\\SSBinService::getUploadURL(): Implicitly marking parameter $callbackURL as nullable is deprecated, the explicit nullable type must be used instead", "\/app\/Commons\/Plugins\/SecureStaticBinary\/SSBinService.php", 117 ], "code": { "112": " * @throws \\KATEv2\\Commons\\Plugins\\SecureStaticBinary\\Exceptions\\SSBinMalformedFileURLException", "113": " * @throws \\KATEv2\\Commons\\Plugins\\SecureStaticBinary\\Exceptions\\SSBinNotFoundException", "114": " * @throws \\KATEv2\\Commons\\Plugins\\SecureStaticBinary\\Exceptions\\SSBinRevokedAudienceException", "115": " * @throws \\KATEv2\\Commons\\Plugins\\SecureStaticBinary\\Exceptions\\SSBinUnregisteredSigningServiceException", "116": " *\/", "117": " public function getUploadURL(string $fileName, string $audience = 'kate', string | int $validFor = '+2 years', string $callbackURL = null): string {", "118": " if ($this->customer === null) throw new ImplementationException(__METHOD__.': Customer must be defined; pass it to constructor.');", "119": " if ($this->department === null) throw new ImplementationException(__METHOD__.': Department must be defined; pass it to constructor.');", "120": " if (strlen($this->customer) > 15) throw new ImplementationException('Customer-name too long, given:\"'.$this->customer.'\".');", "121": " if (strlen($this->department) > 15) throw new ImplementationException('Department-name too long, given:\"'.$this->department.'\".');", "122": " if (strlen($audience) > 7) throw new ImplementationException('Audience-name too long, given:\"'.$audience.'\".');" }, "mark": [ "fileName", "audience", "validFor", "callbackURL" ] }, { "errLevel": 8192, "level": 2, "type": "DEPRECATED:PHP", "msg": "KATEv2\\Commons\\Plugins\\SecureStaticBinary\\SSBinService::getUploadURLForPublicFile(): Implicitly marking parameter $callbackURL as nullable is deprecated, the explicit nullable type must be used instead", "file": "\/Commons\/Plugins\/SecureStaticBinary\/SSBinService.php", "line": 164, "trace": [ "01: KATEv2\\Commons\\KateAPI\\KateAPIRunner->__construct('main', '[OBJECT]')\n \\-> Line 0032 in \/Notify\/bootstrapper.php", "02: KATEv2\\Commons\\KateCache\\Cache->__construct('[OBJECT]')\n \\-> Line 0057 in \/Commons\/KateAPI\/KateAPIRunner.php", "03: KATEv2\\Commons\\KateCache\\Cache::getDefaultCommonsCacheModes('[OBJECT]')\n \\-> Line 0087 in \/Commons\/KateCache\/Cache.php", "04: KATEv2\\PSR4Autoloader->loadClass('KATEv2\\Commons\\Plugi...')\n \\-> Line 0355 in \/Commons\/KateCache\/Cache.php", "05: require_once('\/Commons\/KateErr...')\n \\-> Line 0058 in \/PSR4Autoloader.php", "06: Error raised\n \\-> Line 0058 in \/PSR4Autoloader.php\n(Skipped 2 internal calls)\n" ], "vars": [ 8192, "KATEv2\\Commons\\Plugins\\SecureStaticBinary\\SSBinService::getUploadURLForPublicFile(): Implicitly marking parameter $callbackURL as nullable is deprecated, the explicit nullable type must be used instead", "\/app\/Commons\/Plugins\/SecureStaticBinary\/SSBinService.php", 164 ], "code": { "159": " elseif ($errorType === 'SSBinNotFoundException') throw new Exceptions\\SSBinNotFoundException();", "160": " throw $e; \/\/ Should not happen.", "161": " }", "162": " }", "163": "", "164": " public function getUploadURLForPublicFile(string $filename, string $callbackURL = null): string {", "165": " return $this->getUploadURL($filename, 'public', 0, $callbackURL);", "166": " }", "167": "", "168": " \/**", "169": " * @param string $uploadURL Allocated upload link from ->getUploadURL()" }, "mark": [ "filename", "callbackURL" ] } ] } ] }, { "file": "\/app\/Commons\/KateErrorHandler\/ErrorHandler.php", "line": 338, "function": "call_user_func", "args": [ [ "KATEv2\\Commons\\KateAPI\\KateAPIRunner", "onKateErrorHandlerError" ], { "fatal": { "errLevel": 64, "level": 3, "type": "ERROR:COMPILE", "msg": "Cannot override final method KATEv2\\Commons\\KateAPI\\KateAPI::__construct()", "file": "\/app\/Notify\/API\/ContactsAPI.php", "line": 22, "trace": [ "01: Error raised\n \\-> Line 0000 in \n(Skipped 3 internal calls)\n" ], "vars": [ 64, "Cannot override final method KATEv2\\Commons\\KateAPI\\KateAPI::__construct()", "\/app\/Notify\/API\/ContactsAPI.php", 22 ], "code": { "17": "use KATEv2\\Notify\\Services\\NsApiClient;", "18": "", "19": "class ContactsAPI extends KateAPI {", "20": " private ContactService $service;", "21": "", "22": " public function __construct(private KateAPIRunner $kateAPIRunner) {", "23": " parent::__construct($this->kateAPIRunner);", "24": " $this->service = new ContactService(new NsApiClient($this->kateAPIRunner));", "25": " }", "26": "", "27": " #[Route('GET', '\/mgmt\/customers\/{customerId}\/contacts', name: 'listContacts', description: 'Lists contacts for a customer in the notification service', group: '9. Notification service')]" }, "mark": [ "kateAPIRunner" ] }, "preceding-non-fatal": [ { "errLevel": 8192, "level": 2, "type": "DEPRECATED:PHP", "msg": "KATEv2\\Commons\\Plugins\\SecureStaticBinary\\SSBinService::getUploadURL(): Implicitly marking parameter $callbackURL as nullable is deprecated, the explicit nullable type must be used instead", "file": "\/Commons\/Plugins\/SecureStaticBinary\/SSBinService.php", "line": 117, "trace": [ "01: KATEv2\\Commons\\KateAPI\\KateAPIRunner->__construct('main', '[OBJECT]')\n \\-> Line 0032 in \/Notify\/bootstrapper.php", "02: KATEv2\\Commons\\KateCache\\Cache->__construct('[OBJECT]')\n \\-> Line 0057 in \/Commons\/KateAPI\/KateAPIRunner.php", "03: KATEv2\\Commons\\KateCache\\Cache::getDefaultCommonsCacheModes('[OBJECT]')\n \\-> Line 0087 in \/Commons\/KateCache\/Cache.php", "04: KATEv2\\PSR4Autoloader->loadClass('KATEv2\\Commons\\Plugi...')\n \\-> Line 0355 in \/Commons\/KateCache\/Cache.php", "05: require_once('\/Commons\/KateErr...')\n \\-> Line 0058 in \/PSR4Autoloader.php", "06: Error raised\n \\-> Line 0058 in \/PSR4Autoloader.php\n(Skipped 2 internal calls)\n" ], "vars": [ 8192, "KATEv2\\Commons\\Plugins\\SecureStaticBinary\\SSBinService::getUploadURL(): Implicitly marking parameter $callbackURL as nullable is deprecated, the explicit nullable type must be used instead", "\/app\/Commons\/Plugins\/SecureStaticBinary\/SSBinService.php", 117 ], "code": { "112": " * @throws \\KATEv2\\Commons\\Plugins\\SecureStaticBinary\\Exceptions\\SSBinMalformedFileURLException", "113": " * @throws \\KATEv2\\Commons\\Plugins\\SecureStaticBinary\\Exceptions\\SSBinNotFoundException", "114": " * @throws \\KATEv2\\Commons\\Plugins\\SecureStaticBinary\\Exceptions\\SSBinRevokedAudienceException", "115": " * @throws \\KATEv2\\Commons\\Plugins\\SecureStaticBinary\\Exceptions\\SSBinUnregisteredSigningServiceException", "116": " *\/", "117": " public function getUploadURL(string $fileName, string $audience = 'kate', string | int $validFor = '+2 years', string $callbackURL = null): string {", "118": " if ($this->customer === null) throw new ImplementationException(__METHOD__.': Customer must be defined; pass it to constructor.');", "119": " if ($this->department === null) throw new ImplementationException(__METHOD__.': Department must be defined; pass it to constructor.');", "120": " if (strlen($this->customer) > 15) throw new ImplementationException('Customer-name too long, given:\"'.$this->customer.'\".');", "121": " if (strlen($this->department) > 15) throw new ImplementationException('Department-name too long, given:\"'.$this->department.'\".');", "122": " if (strlen($audience) > 7) throw new ImplementationException('Audience-name too long, given:\"'.$audience.'\".');" }, "mark": [ "fileName", "audience", "validFor", "callbackURL" ] }, { "errLevel": 8192, "level": 2, "type": "DEPRECATED:PHP", "msg": "KATEv2\\Commons\\Plugins\\SecureStaticBinary\\SSBinService::getUploadURLForPublicFile(): Implicitly marking parameter $callbackURL as nullable is deprecated, the explicit nullable type must be used instead", "file": "\/Commons\/Plugins\/SecureStaticBinary\/SSBinService.php", "line": 164, "trace": [ "01: KATEv2\\Commons\\KateAPI\\KateAPIRunner->__construct('main', '[OBJECT]')\n \\-> Line 0032 in \/Notify\/bootstrapper.php", "02: KATEv2\\Commons\\KateCache\\Cache->__construct('[OBJECT]')\n \\-> Line 0057 in \/Commons\/KateAPI\/KateAPIRunner.php", "03: KATEv2\\Commons\\KateCache\\Cache::getDefaultCommonsCacheModes('[OBJECT]')\n \\-> Line 0087 in \/Commons\/KateCache\/Cache.php", "04: KATEv2\\PSR4Autoloader->loadClass('KATEv2\\Commons\\Plugi...')\n \\-> Line 0355 in \/Commons\/KateCache\/Cache.php", "05: require_once('\/Commons\/KateErr...')\n \\-> Line 0058 in \/PSR4Autoloader.php", "06: Error raised\n \\-> Line 0058 in \/PSR4Autoloader.php\n(Skipped 2 internal calls)\n" ], "vars": [ 8192, "KATEv2\\Commons\\Plugins\\SecureStaticBinary\\SSBinService::getUploadURLForPublicFile(): Implicitly marking parameter $callbackURL as nullable is deprecated, the explicit nullable type must be used instead", "\/app\/Commons\/Plugins\/SecureStaticBinary\/SSBinService.php", 164 ], "code": { "159": " elseif ($errorType === 'SSBinNotFoundException') throw new Exceptions\\SSBinNotFoundException();", "160": " throw $e; \/\/ Should not happen.", "161": " }", "162": " }", "163": "", "164": " public function getUploadURLForPublicFile(string $filename, string $callbackURL = null): string {", "165": " return $this->getUploadURL($filename, 'public', 0, $callbackURL);", "166": " }", "167": "", "168": " \/**", "169": " * @param string $uploadURL Allocated upload link from ->getUploadURL()" }, "mark": [ "filename", "callbackURL" ] } ] } ] }, { "file": "\/app\/Commons\/KateErrorHandler\/ErrorHandler.php", "line": 189, "function": "presentErrors", "class": "KATEv2\\Commons\\KateErrorHandler\\ErrorHandler", "type": "->", "args": [ { "errLevel": 64, "level": 3, "type": "ERROR:COMPILE", "msg": "Cannot override final method KATEv2\\Commons\\KateAPI\\KateAPI::__construct()", "file": "\/app\/Notify\/API\/ContactsAPI.php", "line": 22, "trace": "#01: Error raised\n \\-> Line 0000 in \n(Skipped 3 internal calls)\n", "vars": [ 64, "Cannot override final method KATEv2\\Commons\\KateAPI\\KateAPI::__construct()", "\/app\/Notify\/API\/ContactsAPI.php", 22 ], "code": { "17": "use KATEv2\\Notify\\Services\\NsApiClient;", "18": "", "19": "class ContactsAPI extends KateAPI {", "20": " private ContactService $service;", "21": "", "22": " public function __construct(private KateAPIRunner $kateAPIRunner) {", "23": " parent::__construct($this->kateAPIRunner);", "24": " $this->service = new ContactService(new NsApiClient($this->kateAPIRunner));", "25": " }", "26": "", "27": " #[Route('GET', '\/mgmt\/customers\/{customerId}\/contacts', name: 'listContacts', description: 'Lists contacts for a customer in the notification service', group: '9. Notification service')]" }, "mark": [ "kateAPIRunner" ] } ] }, { "file": "\/app\/Commons\/KateErrorHandler\/ErrorHandler.php", "line": 229, "function": "onError", "class": "KATEv2\\Commons\\KateErrorHandler\\ErrorHandler", "type": "->", "args": [ 64, "Cannot override final method KATEv2\\Commons\\KateAPI\\KateAPI::__construct()", "\/app\/Notify\/API\/ContactsAPI.php", 22 ] }, { "function": "onShutdown", "class": "KATEv2\\Commons\\KateErrorHandler\\ErrorHandler", "type": "->", "args": [] } ], "code": 0 } }