{"record":{"id":"facf7eebac98cbe9","repo":"phalcon/cphalcon","slug":"property-must-be-an-array-on-position-position","errorCode":null,"errorMessage":"Property must be an array on position {position}","messagePattern":"Property must be an array on position (.+?)","errorType":"exception","errorClass":"Phalcon\\Di\\Exceptions\\PropertyMustBeArray","httpStatus":null,"severity":"error","filePath":"phalcon/Di/Service/Builder.zep","lineNumber":165,"sourceCode":"         */\n        if fetch paramCalls, definition[\"properties\"] {\n            if unlikely typeof instance !== \"object\" {\n                throw new PropertyInjectionRequiresInstance();\n            }\n\n            if unlikely typeof paramCalls !== \"array\" {\n                throw new SetterParametersMustBeArray();\n            }\n\n            /**\n             * The method call has parameters\n             */\n            for propertyPosition, property in paramCalls {\n                /**\n                 * The call parameter must be an array of arrays\n                 */\n                if unlikely typeof property != \"array\" {\n                    throw new PropertyMustBeArray(propertyPosition);\n                }\n\n                /**\n                 * A param 'name' is required\n                 */\n                if unlikely !fetch propertyName, property[\"name\"] {\n                    throw new PropertyNameRequired(propertyPosition);\n                }\n\n                /**\n                 * A param 'value' is required\n                 */\n                if unlikely !fetch propertyValue, property[\"value\"] {\n                    throw new PropertyValueRequired(propertyPosition);\n                }\n\n                /**\n                 * Update the public property","sourceCodeStart":147,"sourceCodeEnd":183,"githubUrl":"https://github.com/phalcon/cphalcon/blob/b7419de9cd0a8a3f48441ead84c9f8415d463e25/phalcon/Di/Service/Builder.zep#L147-L183","documentation":"Error \"Property must be an array on position {position}\" thrown in phalcon/cphalcon.","triggerScenarios":"Thrown at phalcon/Di/Service/Builder.zep:165 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"}