Skip to content

Instantly share code, notes, and snippets.

@igormukhingmailcom
Last active March 28, 2019 07:22
Embed
What would you like to do?
Sometime we can face some weird issue and spend a lot of time to find why it happen. Here I will be collecting some issues and reasons why they happening.
  • Fixture with name ""your_cusom_fixture"" is already registered.
    • Reason: Your fixture service registers twice (as app.fixture.bla by you and as App\Fixture\BlaFixture by DI autoconfigure)
    • Solutions:
      • Exclude fixtures folder from DI autoconfigure
      • Make your fixture comatible with DI autocomfigure
    • How that was found: Dumped $taggedServices at vendor/sylius/fixtures-bundle/src/DependencyInjection/Compiler/FixtureRegistryPass.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment