Typical issues that only happens to me - #4

This is a short one...

Are you working on a new plugin in Shopware?

Do you see you plugin installed and activated in the admin?

Did you wrote some Tests for your plugin?

And when you run the tests you start getting something like "You have requested a non-existent service"?

Checked the services definition and all the code around it and everything looks fine?

And still getting the error and not been able to run your tests?

Well... here's a good note: if you define a service you MUST use it somewhere or set it as "public", otherwise Symfony will remove it!

Don't be like me don't forget to implement your services somewhere or set them as public.

Comments

* - Required fields