{"record":{"id":"1b330ffc4b3a2f98","repo":"phalcon/cphalcon","slug":"cursor-is-an-immutable-arrayaccess-object","errorCode":null,"errorMessage":"Cursor is an immutable ArrayAccess object","messagePattern":"Cursor is an immutable ArrayAccess object","errorType":"exception","errorClass":"Phalcon\\Mvc\\Model\\Exceptions\\CursorIsImmutable","httpStatus":null,"severity":"error","filePath":"phalcon/Mvc/Model/Resultset.zep","lineNumber":620,"sourceCode":"        }\n\n        /**\n         * Move the cursor to the specific position\n         */\n        this->seek(index);\n\n        return this->{\"current\"}();\n    }\n\n    /**\n     * Resultsets cannot be changed. It has only been implemented to meet the definition of the ArrayAccess interface\n     *\n     * @param int offset\n     * @param \\Phalcon\\Mvc\\ModelInterface value\n     */\n    public function offsetSet(var offset, var value) -> void\n    {\n        throw new CursorIsImmutable();\n    }\n\n    /**\n     * Resultsets cannot be changed. It has only been implemented to meet the definition of the ArrayAccess interface\n     */\n    public function offsetUnset(var offset) -> void\n    {\n        throw new CursorIsImmutable();\n    }\n\n    /**\n     * Rewinds resultset to its beginning\n     */\n    final public function rewind() -> void\n    {\n        this->seek(0);\n    }\n","sourceCodeStart":602,"sourceCodeEnd":638,"githubUrl":"https://github.com/phalcon/cphalcon/blob/b7419de9cd0a8a3f48441ead84c9f8415d463e25/phalcon/Mvc/Model/Resultset.zep#L602-L638","documentation":"Error \"Cursor is an immutable ArrayAccess object\" thrown in phalcon/cphalcon.","triggerScenarios":"Thrown at phalcon/Mvc/Model/Resultset.zep:620 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"}