Uncaught Error: The route "_wdt" does not exist

2.4k views Asked by At

I'm currently working on a project based on Oroplatform and I'm facing a weird issue.

I followed all the steps describe in the documentation related to the "Developement Environnement" : https://doc.oroinc.com/backend/setup/dev-environment/docker-and-symfony/

Everything has worked perfectly during the installation, I can log in to the admin panel but when I try to move through dashboard pages, I have to force reload because I've got the following issue in the console :

Uncaught Error: The route "_wdt" does not exist.

  • My routing_dev.yml
_wdt:
    resource: "@WebProfilerBundle/Resources/config/routing/wdt.xml"
    prefix:   /_wdt

_profiler:
    resource: "@WebProfilerBundle/Resources/config/routing/profiler.xml"
    prefix:   /_profiler

_main:
    resource: routing.yml
  • the output of the command : php bin/console debug:router | grep wdt
_wdt                                                    ANY        ANY      ANY    /_wdt/{token}
1

There are 1 answers

0
Gloria Chen On

I had similar error. My error is like:

enter image description here

My Profiler couldn't load. I used php bin/console cache:clear to solve this problem.