You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Explain query button in the profiler doesn't work with Symfony 6:
If I open the URL directly, e.g. /_profiler/248883?panel=db&page=explain&connection=default&query=1 I get the following error:
An exception has been thrown during the rendering of a template ("The "twig" service or alias has been removed or inlined when the container was compiled. You should either make it public, or stop using the container directly and use dependency injection instead.").
The problem is that the ProfilerController tries to fetch the twig service directly from the container, but in Symfony 6 the service is private:
The
Explain query
button in the profiler doesn't work with Symfony 6:If I open the URL directly, e.g.
/_profiler/248883?panel=db&page=explain&connection=default&query=1
I get the following error:The problem is that the
ProfilerController
tries to fetch thetwig
service directly from the container, but in Symfony 6 the service is private:DoctrineBundle/Controller/ProfilerController.php
Line 85 in 97cea21
The text was updated successfully, but these errors were encountered: