Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generating Entities or edit Entities #59

Open
HashtagAssist opened this issue May 4, 2023 · 0 comments
Open

Generating Entities or edit Entities #59

HashtagAssist opened this issue May 4, 2023 · 0 comments
Labels
kind/bug Something isn't working

Comments

@HashtagAssist
Copy link

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.

@HashtagAssist HashtagAssist added the kind/bug Something isn't working label May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant