-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
kind/bugSomething isn't workingSomething isn't working
Description
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.
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't workingSomething isn't working