{"record":{"id":"560a7e18b8aed114","repo":"phalcon/cphalcon","slug":"column-column-does-not-make-part-of-the-column","errorCode":null,"errorMessage":"Column '{column}' does not make part of the column map in '{className}'","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.zep","lineNumber":924,"sourceCode":"            let columnMap = metaData->getColumnMap(this);\n        } else {\n            let columnMap = null;\n        }\n\n        for attribute in metaData->getAttributes(this) {\n            // Try to find case-insensitive key variant\n            if !isset columnMap[attribute] && Settings::get(\"orm.case_insensitive_column_map\") {\n                let attribute = self::caseInsensitiveColumnMap(\n                    columnMap,\n                    attribute\n                );\n            }\n\n            // Check if we need to rename the field\n            if typeof columnMap === \"array\" {\n                if !fetch attributeField, columnMap[attribute] {\n                    if unlikely !Settings::get(\"orm.ignore_unknown_columns\") {\n                        throw new ColumnNotInMap(attribute, get_class(this));\n                    }\n\n                    continue;\n                }\n            } else {\n                let attributeField = attribute;\n            }\n\n            // The value in the array passed\n            // Check if we there is data for the field\n            if fetch value, dataMapped[attributeField] {\n                // If white-list exists check if the attribute is on that list\n                if typeof whiteList == \"array\" {\n                    if !in_array(attributeField, whiteList) {\n                        continue;\n                    }\n                }\n","sourceCodeStart":906,"sourceCodeEnd":942,"githubUrl":"https://github.com/phalcon/cphalcon/blob/b7419de9cd0a8a3f48441ead84c9f8415d463e25/phalcon/Mvc/Model.zep#L906-L942","documentation":"Error \"Column '{column}' does not make part of the column map in '{className}'\" thrown in phalcon/cphalcon.","triggerScenarios":"Thrown at phalcon/Mvc/Model.zep:924 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"}