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.

Support

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

Started by Denis Nickoleff 8 years ago · 0 replies · 513 views
8 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 Thomas, 1 week ago
2 57 14 hours ago
Support · by Anna, 3 days ago
2 65 17 hours ago
Support · by Justin Young, 18 hours ago
1 33 18 hours ago
Support · by Duc , 1 week ago
2 68 5 days ago
Support · by Colin Hume, 1 week ago
2 60 6 days ago