phalcon/cphalcon · error · Phalcon\Mvc\Model\Query\Exceptions\UpdateMultipleNotSupported
Updating several models at the same time is still not suppor
Error message
Updating several models at the same time is still not supported
What it means
Error "Updating several models at the same time is still not supported" thrown in phalcon/cphalcon.
Source
Thrown at phalcon/Mvc/Model/Query.zep:1497
this->resultsetRowClass
);
}
/**
* Executes the UPDATE intermediate representation producing a
* Phalcon\Mvc\Model\Query\Status
*/
final protected function executeUpdate(array intermediate, array bindParams, array bindTypes) -> <StatusInterface>
{
var models, modelName, model, connection, dialect, fields, values,
updateValues, fieldName, value, selectBindParams, selectBindTypes,
number, field, records, exprValue, updateValue, wildcard, record,
exception, sqlExpr, namedParams, paramKey, paramKeys, paramValue;
let models = intermediate["models"];
if unlikely isset models[1] {
throw new UpdateMultipleNotSupported();
}
let modelName = models[0];
/**
* Load the model from the modelsManager or from the modelsInstances
* property
*/
if !fetch model, this->modelsInstances[modelName] {
let model = this->manager->load(modelName);
}
let connection = this->getWriteConnection(
model,
intermediate,
bindParams,
bindTypes
);View on GitHub (pinned to b7419de9cd)
When it happens
Trigger: Thrown at phalcon/Mvc/Model/Query.zep:1497 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/5c791f1be00807b0.
Report an issue: GitHub.