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

Invalid definition for service "Doctrine\Bundle\DoctrineBundle\Controller\ProfilerController" #1457

Closed
ThomasTr opened this issue Dec 29, 2021 · 1 comment · Fixed by #1459
Labels
Milestone

Comments

@ThomasTr
Copy link

When i run bin/console lint:container with version 2.5.3 of DoctrineBundle i get this error:

Invalid definition for service "Doctrine\Bundle\DoctrineBundle\Controller\ProfilerController": argument 3 of   
         "Doctrine\Bundle\DoctrineBundle\Controller\ProfilerController::__construct()" accepts                          
         "Symfony\Component\HttpKernel\Profiler\Profiler", "null" passed.

This seems to be introduced with version 2.5.3 as i upgraded stepwise from 2.5.0 and 2.5.2 worked for me.
Running symfony version 5.3.13.

@dmaicher
Copy link
Contributor

Indeed I can confirm the issue. Working on a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants