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

Twig_Error_Runtime on install

Started by Muut Archive 11 years ago · 2 replies · 269 views
11 years ago

Hi there, can't seem to get beyond this error, have installed the blog skeleton package locally on linux mint machine (ubuntu) with lamp. Apache is working alright, so is php. But all I get when browsing to localhost/grav-blog is this message "An exception has been thrown during the rendering of a template ("defined() expects exactly 1 parameter, 2 given") in "partials/blog_item.html.twig" at line 3."
So is this an apache config issue? I have set DocumentRoot in apache2/sites-enabled/000-default.conf to the same path in my home dir as in apache2.conf.
Any help appreciated!

11 years ago

Please update Grav and Antimatter theme. Not sure when you grabbed the skeleton package, but there was a problem over the weekend where the package contained an unreleased version of Antimatter, that caused this problem.

I just downloaded the newly updated package (from today) and it works fine.

Sorry about that!

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1334 9 years ago
Archive · by Muut Archive, 9 years ago
2 925 9 years ago
Archive · by Muut Archive, 9 years ago
2 4056 9 years ago
Archive · by Muut Archive, 9 years ago
1 2939 9 years ago
Archive · by Muut Archive, 9 years ago
3 1112 9 years ago