Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Console][WebProfiler] Combination of Console 6.4.0 and WebProfiler 6.3.x results in `profiler template "@WebProfiler/Collector/command.html.twig" does not exist #52271

Closed
@7ochem

Description

@7ochem

Symfony version(s) affected

6.4.0-BETA1

Description

I updated all my Composer packages to 6.4.0-BETA1 version, but forgot to update my dev dependencies. These were still on 6.3.*. Now the web debug toolbar is showing "An error occurred while loading the web debug toolbar. Open the web profiler." and the web profiler is showing the error:

\UnexpectedValueException
The profiler template "@WebProfiler/Collector/command.html.twig" for data collector "command" does not exist.
in vendor/symfony/web-profiler-bundle/Profiler/TemplateManager.php (line 80)

Screenshot from 2023-10-24 16-29-16

How to reproduce

Start a new Symfony project on 6.4.x. Change the web profiler bundle requirement into "symfony/web-profiler-bundle": "6.3.*". Open a page.

Reproducer: https://github.com/7ochem/symfony-issue-52271

Possible Solution

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions