phalcon/cphalcon · error · Phalcon\Mvc\Model\Query\Exceptions\EmptyArrayPlaceholderValue
At least one value must be bound in placeholder: {name}
Error message
At least one value must be bound in placeholder: {name} What it means
Error "At least one value must be bound in placeholder: {name}" thrown in phalcon/cphalcon.
Source
Thrown at phalcon/Mvc/Model/Query.zep:2185
"type": "placeholder",
"value": ":" . name
];
break;
case "array":
case "array-str":
case "array-int":
if unlikely !fetch bind, this->bindParams[name] {
throw new BindValueRequired(name);
}
if unlikely typeof bind != "array" {
throw new BindTypeRequiresArray(name);
}
if unlikely empty bind {
throw new EmptyArrayPlaceholderValue(name);
}
let exprReturn = [
"type": "placeholder",
"value": ":" . name,
"rawValue": name,
"times": count(bind)
];
break;
default:
throw new UnknownBindType(bindType);
}
} else {
let exprReturn = [
"type": "placeholder",
"value": ":" . valueView on GitHub (pinned to b7419de9cd)
When it happens
Trigger: Thrown at phalcon/Mvc/Model/Query.zep:2185 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/497632494c225cee.
Report an issue: GitHub.