{"record":{"id":"a4778b1823ed64e9","repo":"filp/whoops","slug":"whoops-exception-framecollection-is-read-only","errorCode":null,"errorMessage":"Whoops\\Exception\\FrameCollection is read only","messagePattern":"Whoops\\\\Exception\\\\FrameCollection is read only","errorType":"exception","errorClass":"Exception","httpStatus":null,"severity":"error","filePath":"src/Whoops/Exception/FrameCollection.php","lineNumber":123,"sourceCode":"\n    /**\n     * @see ArrayAccess::offsetGet\n     * @param int $offset\n     */\n    #[ReturnTypeWillChange]\n    public function offsetGet($offset)\n    {\n        return $this->frames[$offset];\n    }\n\n    /**\n     * @see ArrayAccess::offsetSet\n     * @param int $offset\n     */\n    #[ReturnTypeWillChange]\n    public function offsetSet($offset, $value)\n    {\n        throw new \\Exception(__CLASS__ . ' is read only');\n    }\n\n    /**\n     * @see ArrayAccess::offsetUnset\n     * @param int $offset\n     */\n    #[ReturnTypeWillChange]\n    public function offsetUnset($offset)\n    {\n        throw new \\Exception(__CLASS__ . ' is read only');\n    }\n\n    /**\n     * @see Countable::count\n     * @return int\n     */\n    #[ReturnTypeWillChange]\n    public function count()","sourceCodeStart":105,"sourceCodeEnd":141,"githubUrl":"https://github.com/filp/whoops/blob/fa1bc9c95a1b392fbdb8a410dbbcb1d6a030fff7/src/Whoops/Exception/FrameCollection.php#L105-L141","documentation":"Error \"Whoops\\Exception\\FrameCollection is read only\" thrown in filp/whoops.","triggerScenarios":"Thrown at src/Whoops/Exception/FrameCollection.php:123 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":"fa1bc9c95a1b392fbdb8a410dbbcb1d6a030fff7","analyzedAt":"2026-08-21T01:30:26.400Z","schemaVersion":2},"datasetVersion":"2026-08-21T03:17:12.404Z"}