Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Can't access admin pages after Update

Started by Muut Archive 10 years ago · 1 replies · 492 views
10 years ago

Hi everyone,

I just updated grav and the plugins and I can't access the admin pages any more... I get the following error:

Twig_Error_Runtime
An exception has been thrown during the rendering of a template ("Identifier "messages" is not defined.") in "partials/messages.html.twig" at line 1.

I think to remember that the version was a release candidate... Is there a command line command to fix this (rollback to last version or something like this)?

Best regards,
Tom

10 years ago

Ok, seems to me like the update/upgrade had a problem with some files in the cache, that did not want to go away on their own.

I tried "bin/gpm selfupgrade" that showed me the upgrade was not finished and upon trying again told me about the files in the cache.

I tried "bin/grav clear-cache --all" but the file would not go. After deleting them manually everything works fine again.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 2588 9 years ago
Archive · by Muut Archive, 9 years ago
2 1703 9 years ago
Archive · by Muut Archive, 9 years ago
2 4996 9 years ago
Archive · by Muut Archive, 9 years ago
1 3826 9 years ago
Archive · by Muut Archive, 9 years ago
3 1810 9 years ago