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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Installation & Hosting

Runtime error after page reordering

Started by grund 5 years ago · 0 replies · 462 views
5 years ago

When i reorder pages in the admin panel (Advanced Tab) i get a Runtime error as Grav can't find the image related to the page anymore. This only happens with the hoster (Apache) but not local with php -S. Experienced in 1.7.6 and 1.7.12

TXT
An exception has been thrown during the rendering of a template 
("exif_imagetype(/var/www/virtual/username/html/user/pages/01.pagename/01.childpage/image.png):
failed to open stream: No such file or directory").

Related to this template line.

TWIG
{{ child.media.all|first.cache.html|raw }}

After i clear the cache everything works fine again but can't it reproduce locally. Is this normal behavior, an error by me or possibly the hoster?

Suggested topics

Topic Participants Replies Views Activity
Installation & Hosting · by antoinep, 13 hours ago
5 60 8 hours ago
Installation & Hosting · by Jürgen Dietrich, 7 months ago
0 62 7 months ago
Installation & Hosting · by rappluk, 8 months ago
0 62 8 months ago
Installation & Hosting · by N, 12 months ago
3 72 12 months ago
Installation & Hosting · by Youle, 1 year ago
1 61 1 year ago