phalcon/cphalcon · error · Phalcon\Mvc\Model\Exceptions\CursorIsImmutable
Cursor is an immutable ArrayAccess object
Error message
Cursor is an immutable ArrayAccess object
What it means
Error "Cursor is an immutable ArrayAccess object" thrown in phalcon/cphalcon.
Source
Thrown at phalcon/Mvc/Model/Resultset.zep:620
}
/**
* Move the cursor to the specific position
*/
this->seek(index);
return this->{"current"}();
}
/**
* Resultsets cannot be changed. It has only been implemented to meet the definition of the ArrayAccess interface
*
* @param int offset
* @param \Phalcon\Mvc\ModelInterface value
*/
public function offsetSet(var offset, var value) -> void
{
throw new CursorIsImmutable();
}
/**
* Resultsets cannot be changed. It has only been implemented to meet the definition of the ArrayAccess interface
*/
public function offsetUnset(var offset) -> void
{
throw new CursorIsImmutable();
}
/**
* Rewinds resultset to its beginning
*/
final public function rewind() -> void
{
this->seek(0);
}
View on GitHub (pinned to b7419de9cd)
When it happens
Trigger: Thrown at phalcon/Mvc/Model/Resultset.zep:620 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of phalcon/cphalcon@b7419de9cd (2026-08-21).
Data as JSON: /api/errors/1b330ffc4b3a2f98.
Report an issue: GitHub.