{"record":{"id":"85db5e8ed31854a6","repo":"phalcon/cphalcon","slug":"operator-operator-is-not-available","errorCode":null,"errorMessage":"Operator {operator} is not available.","messagePattern":"Operator (.+?) is not available\\.","errorType":"exception","errorClass":"Phalcon\\Mvc\\Model\\Query\\Exceptions\\Builder\\OperatorNotAvailable","httpStatus":null,"severity":"error","filePath":"phalcon/Mvc/Model/Query/Builder.zep","lineNumber":1646,"sourceCode":"            if typeof currentBindTypes == \"array\" {\n                let this->bindTypes = currentBindTypes + bindTypes;\n            } else {\n                let this->bindTypes = bindTypes;\n            }\n        }\n\n        return this;\n    }\n\n    /**\n     * Appends a BETWEEN condition\n     */\n    protected function conditionBetween( string clause,  string operator,  string expr, var minimum, var maximum) -> <BuilderInterface>\n    {\n        var hiddenParam, nextHiddenParam, minimumKey, maximumKey, operatorMethod;\n\n        if unlikely (operator !== Builder::OPERATOR_AND && operator !== Builder::OPERATOR_OR) {\n            throw new OperatorNotAvailable(operator);\n        }\n\n        let operatorMethod = operator . clause;\n\n        let hiddenParam = this->hiddenParamNumber,\n            nextHiddenParam = hiddenParam + 1;\n\n        /**\n         * Minimum key with auto bind-params and\n         * Maximum key with auto bind-params\n         */\n        let minimumKey = \"AP\" . hiddenParam,\n            maximumKey = \"AP\" . nextHiddenParam;\n\n        /**\n         * Create a standard BETWEEN condition with bind params\n         * Append the BETWEEN to the current conditions using and \"and\"\n         */","sourceCodeStart":1628,"sourceCodeEnd":1664,"githubUrl":"https://github.com/phalcon/cphalcon/blob/b7419de9cd0a8a3f48441ead84c9f8415d463e25/phalcon/Mvc/Model/Query/Builder.zep#L1628-L1664","documentation":"Error \"Operator {operator} is not available.\" thrown in phalcon/cphalcon.","triggerScenarios":"Thrown at phalcon/Mvc/Model/Query/Builder.zep:1646 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"}