thephpleague/flysystem · error · RuntimeException

Properties can not be manipulated

Error message

Properties can not be manipulated

What it means

Error "Properties can not be manipulated" thrown in thephpleague/flysystem.

Source

Thrown at src/ProxyArrayAccessToProperties.php:51

     *
     * @return mixed
     */
    #[\ReturnTypeWillChange]
    public function offsetGet($offset)
    {
        $property = $this->formatPropertyName((string) $offset);

        return $this->{$property};
    }

    /**
     * @param mixed $offset
     * @param mixed $value
     */
    #[\ReturnTypeWillChange]
    public function offsetSet($offset, $value): void
    {
        throw new RuntimeException('Properties can not be manipulated');
    }

    /**
     * @param mixed $offset
     */
    #[\ReturnTypeWillChange]
    public function offsetUnset($offset): void
    {
        throw new RuntimeException('Properties can not be manipulated');
    }
}

View on GitHub (pinned to b277b5dc3d)

When it happens

Trigger: Thrown at src/ProxyArrayAccessToProperties.php:51 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of thephpleague/flysystem@b277b5dc3d (2026-08-17). Data as JSON: /api/errors/2336e29174afb427. Report an issue: GitHub.