Skip to content

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

@Manalro

Description

@Manalro

I've been trying to install the adminLTE templateinto my symfony project but i have encountred several problems.

  • First, I was using the 1.3 version of adminLTE, I followed the documentation (https://github.com/avanzu/AdminThemeBundle) step by step and when I tried to launch the server to see of it did work i got the following error : Unable to find template "AvanzuAdminThemeBundle:layout:default-layout.html.twig"
  • Second, I tried to see the previous issues that were open for the same reason and I tried to do as instructed in the different comments : i launched these two commands ( npm install uglify-js -g and npm install uglifycss -g ) and still had the same problem
  • Then i decided to swithch branch and try to install the dev-master, and again I did as instructed in the doc but when I tried to use the layout I got this error : An exception has been thrown during the rendering of a template ("Unable to generate a URL for the named route "" as such route does not exist.")
    It also says that there's a :
    Twig_Error_Runtime
    in vendor\avanzu\admin-theme-bundle\Resources\views\layout\default-layout.html.twig (line 42)

    line 42 :

I followed the documentation still I'm not able to install the template, I don't know where the problem is, can you please help ?

Component Version
Symfony version Symfony 3.4
AdminThemeBundle 1.3.5/dev-master
Operating System Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions