{"record":{"id":"27214be5800343f7","repo":"phalcon/cphalcon","slug":"column-key-does-not-make-part-of-the-column-ma","errorCode":null,"errorMessage":"Column '{key}' does not make part of the column map in '{calledClass}'","messagePattern":"Column '(.+?)' does not make part of the column map in '(.+?)'","errorType":"exception","errorClass":"Phalcon\\Mvc\\Model\\Exceptions\\ColumnNotInMap","httpStatus":null,"severity":"error","filePath":"phalcon/Mvc/Model/Hydration/CloneResultMapHydrate.zep","lineNumber":63,"sourceCode":"        let hydrateArray = [];\n\n        for key, value in data {\n            if typeof key !== \"string\" {\n                continue;\n            }\n\n            if typeof columnMap === \"array\" {\n                // Try to find case-insensitive key variant\n                if !isset columnMap[key] && Settings::get(\"orm.case_insensitive_column_map\") {\n                    let key = CaseInsensitiveColumnMap::caseInsensitiveColumnMap(columnMap, key);\n                }\n\n                /**\n                 * Every field must be part of the column map\n                 */\n                if !fetch attribute, columnMap[key] {\n                    if unlikely !Settings::get(\"orm.ignore_unknown_columns\") {\n                        throw new ColumnNotInMap(key, calledClass);\n                    }\n\n                    continue;\n                }\n\n                /**\n                 * Attribute can store info about his type\n                 */\n                if typeof attribute === \"array\" {\n                    let attributeName = attribute[0];\n                } else {\n                    let attributeName = attribute;\n                }\n\n                let hydrateArray[attributeName] = value;\n            } else {\n                let hydrateArray[key] = value;\n            }","sourceCodeStart":45,"sourceCodeEnd":81,"githubUrl":"https://github.com/phalcon/cphalcon/blob/b7419de9cd0a8a3f48441ead84c9f8415d463e25/phalcon/Mvc/Model/Hydration/CloneResultMapHydrate.zep#L45-L81","documentation":"Error \"Column '{key}' does not make part of the column map in '{calledClass}'\" thrown in phalcon/cphalcon.","triggerScenarios":"Thrown at phalcon/Mvc/Model/Hydration/CloneResultMapHydrate.zep:63 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"}