phalcon/cphalcon · error · Phalcon\Mvc\Model\Query\Exceptions\UnknownPhqlStatement
Unknown statement {type}
Error message
Unknown statement {type} What it means
Error "Unknown statement {type}" thrown in phalcon/cphalcon.
Source
Thrown at phalcon/Mvc/Model/Query.zep:464
let result = this->executeUpdate(
intermediate,
mergedParams,
mergedTypes
);
break;
case PHQL_T_DELETE:
let result = this->executeDelete(
intermediate,
mergedParams,
mergedTypes
);
break;
default:
throw new UnknownPhqlStatement(type);
}
/**
* We store the resultset in the cache if any
*/
if cacheOptions !== null {
/**
* Only PHQL SELECTs can be cached
*/
if type != PHQL_T_SELECT {
throw new ResultsetNonCacheable();
}
cache->set(key, result, lifetime);
}
/**
* Check if only the first row must be returnedView on GitHub (pinned to b7419de9cd)
When it happens
Trigger: Thrown at phalcon/Mvc/Model/Query.zep:464 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/aebb9cfc13fd6039.
Report an issue: GitHub.