Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

RuntimeException (400) Template "cardstack.html.twig" is not defined

Started by Muut Archive 10 years ago · 12 replies · 815 views
10 years ago

Hola soy novato con el cms Grav, estoy probando algunas themes, pero en todas me aparece este error. Me podéis ayudar. Thanks

10 years ago

I don't speak your language but because of the error message i think you simply has no cardstack.html.twig file in your theme templates but the page you're trying to access this template. I think creating the file in the templates folder fixes your issue or just change the template for the specific page with the error.

10 years ago

Thanks, the cardstack.html.twig is missing

10 years ago

Where do I get the cardstack.html.twig file from. Sorry I am completely new with grav.

10 years ago

Thanks. I found it. All twig files are in the folder. What I don´t understand is the following: I download grav-admin and install it in XAMPP. It works fine with antimatter.
Then I download the cardstack theme. I copy it into the folder themes. Cardstack ist recognized under grav-admin.
I clear the cache and activate it. Then I copy the files _demo into the folder pages. When I try open the demo files with /localhost/grav-admin i get the errors. Errors

10 years ago

This error I think it's related to the Errors plugin not being installed, am I right? You'd better install the theme via CLI (bin/gpm install cardstack) which offers the option to install the demo pages and the required plugins as well.

10 years ago

I experienced this error message as well. I tested with the Cardstack as well as Masonary, both of which I installed via bin/gpm install [theme name] via the Mac Terminal.

10 years ago

Thanks for your help. The error plugin has been already installed with the grav-admin package. Another idea?

10 years ago

No, the Sora Blog is runnig fine. Did install it in the same way as with the cardstack theme. Error ist also on the getgrav theme site when you open Demo, but only with one card. I think it was the one with the Fox, but not sure. Can,t check right now.

10 years ago

Checked it with my Handy. Could not reconfirm the error on the theme site.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1370 9 years ago
Archive · by Muut Archive, 9 years ago
2 943 9 years ago
Archive · by Muut Archive, 9 years ago
2 4069 9 years ago
Archive · by Muut Archive, 9 years ago
1 2960 9 years ago
Archive · by Muut Archive, 9 years ago
3 1127 9 years ago