{"record":{"id":"b23d463c19906035","repo":"phalcon/cphalcon","slug":"bind-value-is-required-for-array-type-placeholder","errorCode":null,"errorMessage":"Bind value is required for array type placeholder: {name}","messagePattern":"Bind value is required for array type placeholder: (.+?)","errorType":"exception","errorClass":"Phalcon\\Mvc\\Model\\Query\\Exceptions\\BindValueRequired","httpStatus":null,"severity":"error","filePath":"phalcon/Mvc/Model/Query.zep","lineNumber":2177,"sourceCode":"                                ];\n\n                                break;\n\n                            case \"null\":\n                                let this->bindTypes[name] = Column::BIND_PARAM_NULL;\n\n                                let exprReturn = [\n                                    \"type\":  \"placeholder\",\n                                    \"value\": \":\" . name\n                                ];\n\n                                break;\n\n                            case \"array\":\n                            case \"array-str\":\n                            case \"array-int\":\n                                if unlikely !fetch bind, this->bindParams[name] {\n                                    throw new BindValueRequired(name);\n                                }\n\n                                if unlikely typeof bind != \"array\" {\n                                    throw new BindTypeRequiresArray(name);\n                                }\n\n                                if unlikely empty bind {\n                                    throw new EmptyArrayPlaceholderValue(name);\n                                }\n\n                                let exprReturn = [\n                                    \"type\":     \"placeholder\",\n                                    \"value\":    \":\" . name,\n                                    \"rawValue\": name,\n                                    \"times\":    count(bind)\n                                ];\n\n                                break;","sourceCodeStart":2159,"sourceCodeEnd":2195,"githubUrl":"https://github.com/phalcon/cphalcon/blob/b7419de9cd0a8a3f48441ead84c9f8415d463e25/phalcon/Mvc/Model/Query.zep#L2159-L2195","documentation":"Error \"Bind value is required for array type placeholder: {name}\" thrown in phalcon/cphalcon.","triggerScenarios":"Thrown at phalcon/Mvc/Model/Query.zep:2177 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"}