_wdt route error after installing Profiler on a basic Symfony 4 structure

Asked

Viewed 37 times

0

In a basic installation of Symfony 4, unlike the full installation, it does not come with the debug profiler - development tool that provides detailed information on the execution of any order. Installing it right away: composer require --dev symfony/profiler-pack, when updating the browser an error is displayed:

An exception has been thrown during the rendering of a template ("Unable to generate a URL for the named route "_wdt" as such route does not exist.").

There is no route. I’m looking in the documentation and all I know today is about config in routing_dev.yaml, but it was in versions prior to Symfony 4. Remembering that I am running the built-in server php bin/console server:run.

1 answer

1


With permission issues, the cache was not being cleared. After solving the permissions issue, a simple: bin/console cache:clear solved the problem and debug bar Profiler appeared.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.