The symfony_debug_toolbar_git.data_collector.template with value "SymfonyDebugToolbarGit:Collector:git" is not found in symfony 4.x because it search over the main templates not over the vendors.
If I extend it to my templates folders works.
I don't know if there is a way to pass the correct route to this to handle the vendors once
Here is the error log
request.CRITICAL: Uncaught PHP Exception UnexpectedValueException: "The profiler template "SymfonyDebugToolbarGit:Collector:git.html.twig" for data collector "datacollector_git" does not exist." at /var/www/mydemo/vendor/symfony/web-profiler-bundle/Profiler/TemplateManager.php line 90 {"exception":"[object] (UnexpectedValueException(code: 0): The profiler template \"SymfonyDebugToolbarGit:Collector:git.html.twig\" for data collector \"datacollector_git\" does not exist. at /var/www/mydemo/vendor/symfony/web-profiler-bundle/Profiler/TemplateManager.php:90)"} []
The symfony_debug_toolbar_git.data_collector.template with value "SymfonyDebugToolbarGit:Collector:git" is not found in symfony 4.x because it search over the main templates not over the vendors.
If I extend it to my templates folders works.
I don't know if there is a way to pass the correct route to this to handle the vendors once
Here is the error log
request.CRITICAL: Uncaught PHP Exception UnexpectedValueException: "The profiler template "SymfonyDebugToolbarGit:Collector:git.html.twig" for data collector "datacollector_git" does not exist." at /var/www/mydemo/vendor/symfony/web-profiler-bundle/Profiler/TemplateManager.php line 90 {"exception":"[object] (UnexpectedValueException(code: 0): The profiler template \"SymfonyDebugToolbarGit:Collector:git.html.twig\" for data collector \"datacollector_git\" does not exist. at /var/www/mydemo/vendor/symfony/web-profiler-bundle/Profiler/TemplateManager.php:90)"} []