{"record":{"id":"944df12b804e55dd","repo":"phalcon/cphalcon","slug":"unknown-expression","errorCode":null,"errorMessage":"Unknown expression","messagePattern":"Unknown expression","errorType":"exception","errorClass":"Phalcon\\Mvc\\Model\\Query\\Exceptions\\UnknownPhqlExpression","httpStatus":null,"severity":"error","filePath":"phalcon/Mvc/Model/Query.zep","lineNumber":2426,"sourceCode":"        }\n\n        /**\n         * If the expression does not have a type it's a list of nodes\n         */\n        if isset expr[0] {\n            let listItems = [];\n\n            for exprListItem in expr {\n                let listItems[] = this->getExpression(exprListItem);\n            }\n\n            return [\n                \"type\": \"list\",\n                listItems\n            ];\n        }\n\n        throw new UnknownPhqlExpression();\n    }\n\n    /**\n     * Resolves an expression in a single call argument\n     */\n    final protected function getFunctionCall( array expr) -> array\n    {\n        var arguments, argument;\n        array functionArgs;\n        int distinct;\n\n        if fetch arguments, expr[\"arguments\"] {\n            if isset expr[\"distinct\"] {\n                let distinct = 1;\n            } else {\n                let distinct = 0;\n            }\n","sourceCodeStart":2408,"sourceCodeEnd":2444,"githubUrl":"https://github.com/phalcon/cphalcon/blob/b7419de9cd0a8a3f48441ead84c9f8415d463e25/phalcon/Mvc/Model/Query.zep#L2408-L2444","documentation":"Error \"Unknown expression\" thrown in phalcon/cphalcon.","triggerScenarios":"Thrown at phalcon/Mvc/Model/Query.zep:2426 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"}