FroshDevelopmentHelper icon indicating copy to clipboard operation
FroshDevelopmentHelper copied to clipboard

Generating Entities or edit Entities

Open HashtagAssist opened this issue 2 years ago • 0 comments

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 https://github.com/symfony/symfony/issues/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.

HashtagAssist avatar May 04 '23 07:05 HashtagAssist