phalcon/cphalcon · error · Phalcon\Mvc\Model\Exceptions\ColumnNotInMap
Column '{key}' does not make part of the column map in '{cal
Error message
Column '{key}' does not make part of the column map in '{calledClass}' What it means
Error "Column '{key}' does not make part of the column map in '{calledClass}'" thrown in phalcon/cphalcon.
Source
Thrown at phalcon/Mvc/Model/Hydration/CloneResultMapHydrate.zep:63
let hydrateArray = [];
for key, value in data {
if typeof key !== "string" {
continue;
}
if typeof columnMap === "array" {
// Try to find case-insensitive key variant
if !isset columnMap[key] && Settings::get("orm.case_insensitive_column_map") {
let key = CaseInsensitiveColumnMap::caseInsensitiveColumnMap(columnMap, key);
}
/**
* Every field must be part of the column map
*/
if !fetch attribute, columnMap[key] {
if unlikely !Settings::get("orm.ignore_unknown_columns") {
throw new ColumnNotInMap(key, calledClass);
}
continue;
}
/**
* Attribute can store info about his type
*/
if typeof attribute === "array" {
let attributeName = attribute[0];
} else {
let attributeName = attribute;
}
let hydrateArray[attributeName] = value;
} else {
let hydrateArray[key] = value;
}View on GitHub (pinned to b7419de9cd)
When it happens
Trigger: Thrown at phalcon/Mvc/Model/Hydration/CloneResultMapHydrate.zep:63 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of phalcon/cphalcon@b7419de9cd (2026-08-21).
Data as JSON: /api/errors/27214be5800343f7.
Report an issue: GitHub.