You're trying to generate a non-existant route in your template. Therefore the router throws the Exception.
Examine your template for route-generating calls like path()
and make sure all used route-names actually exist. Clear your cache before to be sure you have the latest routes available.
you can debug your routing with the console command ...
app/console router:debug --env=prod
app/console router:debug --env=dev
.. to list all routes in your application. Further use ...
app/console router:debug route_name
for more detailed information.
Tip:
Sometimes you have routes only configured for the dev environment ( aka in routing_dev.yml ) and receive these errors in production.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…