Skip to content

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

@ThomasTr

Description

@ThomasTr

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions