{"record":{"id":"db29d2999921ade6","repo":"phalcon/cphalcon","slug":"not-found-handler-is-not-callable-or-is-not-define","errorCode":null,"errorMessage":"Not-Found handler is not callable or is not defined","messagePattern":"Not-Found handler is not callable or is not defined","errorType":"exception","errorClass":"Phalcon\\Mvc\\Micro\\Exceptions\\NotFoundHandlerNotCallable","httpStatus":null,"severity":"error","filePath":"phalcon/Mvc/Micro.zep","lineNumber":609,"sourceCode":"                    }\n                }\n            } else {\n                 /**\n                  * Calling beforeNotFound event\n                  */\n                if this->eventsManager !== null {\n                    if this->eventsManager->fire(\"micro:beforeNotFound\", this) === false {\n                        return false;\n                    }\n                }\n\n                /**\n                 * Check if a notfoundhandler is defined and it's callable\n                 */\n                let notFoundHandler = this->notFoundHandler;\n\n                if unlikely !is_callable(notFoundHandler) {\n                    throw new NotFoundHandlerNotCallable();\n                }\n\n                /**\n                 * Call the Not-Found handler\n                 */\n                let returnedValue = call_user_func(notFoundHandler);\n            }\n\n            /**\n             * Calling afterHandleRoute event\n             */\n            if this->eventsManager !== null {\n                this->eventsManager->fire(\"micro:afterHandleRoute\", this, returnedValue);\n            }\n\n            let finishHandlers = this->finishHandlers;\n            let this->stopped = false;\n","sourceCodeStart":591,"sourceCodeEnd":627,"githubUrl":"https://github.com/phalcon/cphalcon/blob/b7419de9cd0a8a3f48441ead84c9f8415d463e25/phalcon/Mvc/Micro.zep#L591-L627","documentation":"Error \"Not-Found handler is not callable or is not defined\" thrown in phalcon/cphalcon.","triggerScenarios":"Thrown at phalcon/Mvc/Micro.zep:609 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b7419de9cd0a8a3f48441ead84c9f8415d463e25","analyzedAt":"2026-08-21T06:21:18.811Z","schemaVersion":2},"datasetVersion":"2026-08-21T11:28:35.574Z"}