{"record":{"id":"e1a4f9107bdf3325","repo":"getgrav/grav","slug":"500-e1a4f9","errorCode":"500","errorMessage":"Setting relationship is not supported","messagePattern":"Setting relationship is not supported","errorType":"exception","errorClass":"RuntimeException","httpStatus":500,"severity":"error","filePath":"system/src/Grav/Framework/Relationships/Relationships.php","lineNumber":109,"sourceCode":"        if (!isset($this->relationships[$offset])) {\n            $options = $this->options[$offset] ?? null;\n            if (null === $options) {\n                return null;\n            }\n\n            $this->relationships[$offset] = $this->createRelationship($offset, $options);\n        }\n\n        return $this->relationships[$offset];\n    }\n\n    /**\n     * @param string $offset\n     * @return never-return\n     */\n    public function offsetSet($offset, mixed $value)\n    {\n        throw new RuntimeException('Setting relationship is not supported', 500);\n    }\n\n    /**\n     * @param string $offset\n     * @return never-return\n     */\n    public function offsetUnset($offset)\n    {\n        throw new RuntimeException('Removing relationship is not allowed', 500);\n    }\n\n    /**\n     * @return RelationshipInterface<T,P>|null\n     */\n    public function current(): ?RelationshipInterface\n    {\n        $name = key($this->options);\n        if ($name === null) {","sourceCodeStart":91,"sourceCodeEnd":127,"githubUrl":"https://github.com/getgrav/grav/blob/6040efed04efa69b8209448ed81308e7c24147c2/system/src/Grav/Framework/Relationships/Relationships.php#L91-L127","documentation":"Error \"Setting relationship is not supported\" thrown in getgrav/grav.","triggerScenarios":"Thrown at system/src/Grav/Framework/Relationships/Relationships.php:109 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":"6040efed04efa69b8209448ed81308e7c24147c2","analyzedAt":"2026-08-17T05:07:31.593Z","schemaVersion":2},"datasetVersion":"2026-08-17T09:17:11.063Z"}