{"record":{"id":"4f6e8f23525a840a","repo":"doctrine/orm","slug":"undefined-property-offset","errorCode":null,"errorMessage":"Undefined property: {offset}","messagePattern":"Undefined property: (.+?)","errorType":"exception","errorClass":"InvalidArgumentException","httpStatus":null,"severity":"error","filePath":"src/Mapping/ArrayAccessImplementation.php","lineNumber":39,"sourceCode":"            'Using ArrayAccess on %s is deprecated and will not be possible in Doctrine ORM 4.0. Use the corresponding property instead.',\n            static::class,\n        );\n\n        return isset($this->$offset);\n    }\n\n    /** @param string $offset */\n    public function offsetGet(mixed $offset): mixed\n    {\n        Deprecation::trigger(\n            'doctrine/orm',\n            'https://github.com/doctrine/orm/pull/11211',\n            'Using ArrayAccess on %s is deprecated and will not be possible in Doctrine ORM 4.0. Use the corresponding property instead.',\n            static::class,\n        );\n\n        if (! property_exists($this, $offset)) {\n            throw new InvalidArgumentException('Undefined property: ' . $offset);\n        }\n\n        return $this->$offset;\n    }\n\n    /** @param string $offset */\n    public function offsetSet(mixed $offset, mixed $value): void\n    {\n        Deprecation::trigger(\n            'doctrine/orm',\n            'https://github.com/doctrine/orm/pull/11211',\n            'Using ArrayAccess on %s is deprecated and will not be possible in Doctrine ORM 4.0. Use the corresponding property instead.',\n            static::class,\n        );\n\n        $this->$offset = $value;\n    }\n","sourceCodeStart":21,"sourceCodeEnd":57,"githubUrl":"https://github.com/doctrine/orm/blob/d9b9ff73016bf598ae07515f97289ce8074e97a5/src/Mapping/ArrayAccessImplementation.php#L21-L57","documentation":"Error \"Undefined property: {offset}\" thrown in doctrine/orm.","triggerScenarios":"Thrown at src/Mapping/ArrayAccessImplementation.php:39 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":"d9b9ff73016bf598ae07515f97289ce8074e97a5","analyzedAt":"2026-08-21T06:13:15.863Z","schemaVersion":2},"datasetVersion":"2026-08-21T11:28:35.574Z"}