{"record":{"id":"4dbb298424c4a948","repo":"phalcon/cphalcon","slug":"no-adapters-specified","errorCode":null,"errorMessage":"No adapters specified","messagePattern":"No adapters specified","errorType":"exception","errorClass":"Phalcon\\Logger\\Exceptions\\NoAdaptersConfigured","httpStatus":null,"severity":"error","filePath":"phalcon/Logger/AbstractLogger.zep","lineNumber":319,"sourceCode":"        return this;\n    }\n\n\n    /**\n     * Adds a message to each handler for processing\n     *\n     * @throws Exception\n     * @throws NoAdaptersConfigured\n     */\n    protected function addMessage(\n        int level,\n        string message,\n        array context = []\n    ) -> bool {\n        var adapter, collection, item, levelName, levels;\n        if (this->logLevel >= level) {\n            if empty this->adapters {\n                throw new NoAdaptersConfigured();\n            }\n\n            let levels    = this->getLevels(),\n                levelName = true === isset(levels[level]) ? levels[level] : levels[Enum::CUSTOM];\n\n            let item = new Item(\n                message,\n                levelName,\n                level,\n                this->clock->now(),\n                context\n            );\n\n            /**\n             * Log only if the key does not exist in the excluded ones\n             */\n            let collection = array_diff_key(this->adapters, this->excluded);\n            for adapter in collection {","sourceCodeStart":301,"sourceCodeEnd":337,"githubUrl":"https://github.com/phalcon/cphalcon/blob/b7419de9cd0a8a3f48441ead84c9f8415d463e25/phalcon/Logger/AbstractLogger.zep#L301-L337","documentation":"Error \"No adapters specified\" thrown in phalcon/cphalcon.","triggerScenarios":"Thrown at phalcon/Logger/AbstractLogger.zep:319 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"}