{ "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.ronald.katedevelopment.com\/register", "error": { "code": "KATE-ErrorHandler", "description": "See error details", "details": { "fatal": { "level": 3, "type": "EXCEPTION ", "msg": "KATEv2\\Commons\\KateCache\\MultiCache::__construct(): Argument #1 ($caches) must be of type array, KATEv2\\Commons\\KateConfig\\Config given, called in \/app\/Commons\/KateAPI\/KateAPIRunner.php on line 50", "file": "\/app\/Commons\/KateCache\/MultiCache.php", "line": 41, "trace": [ "01: KATEv2\\Commons\\KateAPI\\KateAPIRunner->__construct('main', '[OBJECT]')\n \\-> Line 0032 in \/app\/ErrorReporting\/bootstrapper.php", "02: KATEv2\\Commons\\KateCache\\MultiCache->__construct('[OBJECT]')\n \\-> Line 0050 in \/app\/Commons\/KateAPI\/KateAPIRunner.php\n" ], "vars": [ 3, "KATEv2\\Commons\\KateCache\\MultiCache::__construct(): Argument #1 ($caches) must be of type array, KATEv2\\Commons\\KateConfig\\Config given, called in \/app\/Commons\/KateAPI\/KateAPIRunner.php on line 50", "\/app\/Commons\/KateCache\/MultiCache.php", 41, null, [] ], "code": { "36": " * @param array $caches By name.", "37": " * @param array $routes Prefix (ending in '\/') => [cache name, lifetime] or cache name.", "38": " * @param string $fallback Cache name for keys without a route.", "39": " * @throws ConfigurationException When a route or the fallback names an unknown cache, or a route is malformed.", "40": " *\/", "41": " public function __construct(protected array $caches, array $routes = [], protected string $fallback = self::MODE_REDIS) {", "42": " foreach ($caches as $name => $cache) {", "43": " if (!$cache instanceof ICache) throw new ConfigurationException(['description' => 'Every cache of a MultiCache must implement '.ICache::class.'.', 'cache' => $name]);", "44": " }", "45": " if (!isset($caches[$fallback])) throw new ConfigurationException(['description' => 'Unknown fallback cache for MultiCache.', 'fallback' => $fallback, 'caches' => array_keys($caches)]);", "46": "" }, "mark": [ "caches", "routes", "fallback" ] }, "preceding-non-fatal": [] } } }, "file": "\/app\/Commons\/KateIntraService\/Request.php", "line": 293, "trace": [ { "file": "\/app\/Commons\/KateAPI\/ErrorReporting\/ErrorReporting.php", "line": 273, "function": "execute", "class": "KATEv2\\Commons\\KateIntraService\\Request", "type": "->", "args": [] }, { "file": "\/app\/Commons\/KateAPI\/KateAPIRunner.php", "line": 197, "function": "reportException", "class": "KATEv2\\Commons\\KateAPI\\ErrorReporting\\ErrorReporting", "type": "::", "args": [ {}, {} ] }, { "function": "onKateErrorHandlerError", "class": "KATEv2\\Commons\\KateAPI\\KateAPIRunner", "type": "::", "args": [ { "fatal": { "errLevel": 3, "level": 3, "type": "EXCEPTION ", "msg": "KATEv2\\Commons\\KateCache\\MultiCache::__construct(): Argument #1 ($caches) must be of type array, KATEv2\\Commons\\KateConfig\\Config given, called in \/app\/Commons\/KateAPI\/KateAPIRunner.php on line 50", "file": "\/app\/Commons\/KateCache\/MultiCache.php", "line": 41, "trace": [ "01: KATEv2\\Commons\\KateAPI\\KateAPIRunner->__construct('main', '[OBJECT]')\n \\-> Line 0032 in \/app\/XBRLSigner\/bootstrapper.php", "02: KATEv2\\Commons\\KateCache\\MultiCache->__construct('[OBJECT]')\n \\-> Line 0050 in \/app\/Commons\/KateAPI\/KateAPIRunner.php\n" ], "vars": [ 3, "KATEv2\\Commons\\KateCache\\MultiCache::__construct(): Argument #1 ($caches) must be of type array, KATEv2\\Commons\\KateConfig\\Config given, called in \/app\/Commons\/KateAPI\/KateAPIRunner.php on line 50", "\/app\/Commons\/KateCache\/MultiCache.php", 41, null, {} ], "code": { "36": " * @param array $caches By name.", "37": " * @param array $routes Prefix (ending in '\/') => [cache name, lifetime] or cache name.", "38": " * @param string $fallback Cache name for keys without a route.", "39": " * @throws ConfigurationException When a route or the fallback names an unknown cache, or a route is malformed.", "40": " *\/", "41": " public function __construct(protected array $caches, array $routes = [], protected string $fallback = self::MODE_REDIS) {", "42": " foreach ($caches as $name => $cache) {", "43": " if (!$cache instanceof ICache) throw new ConfigurationException(['description' => 'Every cache of a MultiCache must implement '.ICache::class.'.', 'cache' => $name]);", "44": " }", "45": " if (!isset($caches[$fallback])) throw new ConfigurationException(['description' => 'Unknown fallback cache for MultiCache.', 'fallback' => $fallback, 'caches' => array_keys($caches)]);", "46": "" }, "mark": [ "caches", "routes", "fallback" ] }, "preceding-non-fatal": [] } ] }, { "file": "\/app\/Commons\/KateErrorHandler\/ErrorHandler.php", "line": 346, "function": "call_user_func", "args": [ [ "KATEv2\\Commons\\KateAPI\\KateAPIRunner", "onKateErrorHandlerError" ], { "fatal": { "errLevel": 3, "level": 3, "type": "EXCEPTION ", "msg": "KATEv2\\Commons\\KateCache\\MultiCache::__construct(): Argument #1 ($caches) must be of type array, KATEv2\\Commons\\KateConfig\\Config given, called in \/app\/Commons\/KateAPI\/KateAPIRunner.php on line 50", "file": "\/app\/Commons\/KateCache\/MultiCache.php", "line": 41, "trace": [ "01: KATEv2\\Commons\\KateAPI\\KateAPIRunner->__construct('main', '[OBJECT]')\n \\-> Line 0032 in \/app\/XBRLSigner\/bootstrapper.php", "02: KATEv2\\Commons\\KateCache\\MultiCache->__construct('[OBJECT]')\n \\-> Line 0050 in \/app\/Commons\/KateAPI\/KateAPIRunner.php\n" ], "vars": [ 3, "KATEv2\\Commons\\KateCache\\MultiCache::__construct(): Argument #1 ($caches) must be of type array, KATEv2\\Commons\\KateConfig\\Config given, called in \/app\/Commons\/KateAPI\/KateAPIRunner.php on line 50", "\/app\/Commons\/KateCache\/MultiCache.php", 41, null, {} ], "code": { "36": " * @param array $caches By name.", "37": " * @param array $routes Prefix (ending in '\/') => [cache name, lifetime] or cache name.", "38": " * @param string $fallback Cache name for keys without a route.", "39": " * @throws ConfigurationException When a route or the fallback names an unknown cache, or a route is malformed.", "40": " *\/", "41": " public function __construct(protected array $caches, array $routes = [], protected string $fallback = self::MODE_REDIS) {", "42": " foreach ($caches as $name => $cache) {", "43": " if (!$cache instanceof ICache) throw new ConfigurationException(['description' => 'Every cache of a MultiCache must implement '.ICache::class.'.', 'cache' => $name]);", "44": " }", "45": " if (!isset($caches[$fallback])) throw new ConfigurationException(['description' => 'Unknown fallback cache for MultiCache.', 'fallback' => $fallback, 'caches' => array_keys($caches)]);", "46": "" }, "mark": [ "caches", "routes", "fallback" ] }, "preceding-non-fatal": [] } ] }, { "file": "\/app\/Commons\/KateErrorHandler\/ErrorHandler.php", "line": 196, "function": "presentErrors", "class": "KATEv2\\Commons\\KateErrorHandler\\ErrorHandler", "type": "->", "args": [ { "errLevel": 3, "level": 3, "type": "EXCEPTION ", "msg": "KATEv2\\Commons\\KateCache\\MultiCache::__construct(): Argument #1 ($caches) must be of type array, KATEv2\\Commons\\KateConfig\\Config given, called in \/app\/Commons\/KateAPI\/KateAPIRunner.php on line 50", "file": "\/app\/Commons\/KateCache\/MultiCache.php", "line": 41, "trace": "#01: KATEv2\\Commons\\KateAPI\\KateAPIRunner->__construct('main', '[OBJECT]')\n \\-> Line 0032 in \/app\/XBRLSigner\/bootstrapper.php\n#02: KATEv2\\Commons\\KateCache\\MultiCache->__construct('[OBJECT]')\n \\-> Line 0050 in \/app\/Commons\/KateAPI\/KateAPIRunner.php\n", "vars": [ 3, "KATEv2\\Commons\\KateCache\\MultiCache::__construct(): Argument #1 ($caches) must be of type array, KATEv2\\Commons\\KateConfig\\Config given, called in \/app\/Commons\/KateAPI\/KateAPIRunner.php on line 50", "\/app\/Commons\/KateCache\/MultiCache.php", 41, null, {} ], "code": { "36": " * @param array $caches By name.", "37": " * @param array $routes Prefix (ending in '\/') => [cache name, lifetime] or cache name.", "38": " * @param string $fallback Cache name for keys without a route.", "39": " * @throws ConfigurationException When a route or the fallback names an unknown cache, or a route is malformed.", "40": " *\/", "41": " public function __construct(protected array $caches, array $routes = [], protected string $fallback = self::MODE_REDIS) {", "42": " foreach ($caches as $name => $cache) {", "43": " if (!$cache instanceof ICache) throw new ConfigurationException(['description' => 'Every cache of a MultiCache must implement '.ICache::class.'.', 'cache' => $name]);", "44": " }", "45": " if (!isset($caches[$fallback])) throw new ConfigurationException(['description' => 'Unknown fallback cache for MultiCache.', 'fallback' => $fallback, 'caches' => array_keys($caches)]);", "46": "" }, "mark": [ "caches", "routes", "fallback" ] } ] }, { "file": "\/app\/Commons\/KateErrorHandler\/ErrorHandler.php", "line": 244, "function": "onError", "class": "KATEv2\\Commons\\KateErrorHandler\\ErrorHandler", "type": "->", "args": [ 3, "KATEv2\\Commons\\KateCache\\MultiCache::__construct(): Argument #1 ($caches) must be of type array, KATEv2\\Commons\\KateConfig\\Config given, called in \/app\/Commons\/KateAPI\/KateAPIRunner.php on line 50", "\/app\/Commons\/KateCache\/MultiCache.php", 41, [ 3, "KATEv2\\Commons\\KateCache\\MultiCache::__construct(): Argument #1 ($caches) must be of type array, KATEv2\\Commons\\KateConfig\\Config given, called in \/app\/Commons\/KateAPI\/KateAPIRunner.php on line 50", "\/app\/Commons\/KateCache\/MultiCache.php", 41, null, {} ], {} ] }, { "function": "onException", "class": "KATEv2\\Commons\\KateErrorHandler\\ErrorHandler", "type": "->", "args": [ {} ] } ], "code": 0 } }