You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to create an entity I got the error "Warning: Uninitialized string offset 0 " in EntityLoader.php line 201
Expected behaviour
Start Wizard
Steps to Reproduce?
While trying to create an entity I got the error "Warning: Uninitialized string offset 0 " in EntityLoader.php line 201. After a vardump of InputInterface from MakeDefinition.php line 74 I saw that there the backslashes were removed from the string. A Google search led me to the issue symfony/symfony#31046 .
This seems to be the normal behaviour. I had to use 4 backslashes: My\\Namespace\\SomeDefinition.
I use the VSCode terminal on Windows (WSL) with Shopware in a ddev/docker container.
The text was updated successfully, but these errors were encountered:
PHP Version
8.1
Shopware Version
6.4.20.1
Actual behaviour
While trying to create an entity I got the error "Warning: Uninitialized string offset 0 " in EntityLoader.php line 201
Expected behaviour
Start Wizard
Steps to Reproduce?
While trying to create an entity I got the error "Warning: Uninitialized string offset 0 " in EntityLoader.php line 201. After a vardump of InputInterface from MakeDefinition.php line 74 I saw that there the backslashes were removed from the string. A Google search led me to the issue symfony/symfony#31046 .
This seems to be the normal behaviour. I had to use 4 backslashes: My\\Namespace\\SomeDefinition.
I use the VSCode terminal on Windows (WSL) with Shopware in a ddev/docker container.
The text was updated successfully, but these errors were encountered: