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

Folder.php: Unable to find the wrapper "theme" after updating Grav

Started by Denis Nickoleff 9 years ago · 0 replies · 716 views
9 years ago

I'm not sure how to handle this error. It asks 'did you enable it when you configured PHP?'

Is that a reference to the PHP configuration on my server or do I need to figure out what edit to make for folder.php file? I've made no changes to my theme, the pages, or any files. I just installed the most recent update via the admin page.

Line 220 of folder.php is highlighted:

PHP
            $directory = new \RecursiveDirectoryIterator($path, $flags);

Does this indicate I should change that line? $directory = theme rather than 'new'?

Suggested topics

Topic Participants Replies Views Activity
Support · by webmasterodp, 7 days ago
4 145 6 days ago
Support · by nwhitfield, 1 week ago
2 124 1 week ago
Support · by stell, 3 weeks ago
5 364 2 weeks ago
Support · by gravinator, 1 month ago
5 555 2 weeks ago
Support · by Gravver, 3 weeks ago
6 344 3 weeks ago