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

PHP 7 and 1.5.7 install CompiledBlueprints.php error

Started by stretch 3 years ago · 0 replies · 436 views
3 years ago

I'm trying to install grav on a device running lighttpd that only supports php 7.1.1 so trying this version https://github.com/getgrav/grav/releases/tag/1.5.7 however i'm getting the following error

**Fatal error** : Uncaught Error: Call to undefined function Grav\Common\Config\json_encode() in /grav/grav/system/src/Grav/Common/Config/CompiledBlueprints.php:36 Stack trace: #0 /grav/grav/system/src/Grav/Common/Config/CompiledBase.php(248): Grav\Common\Config\CompiledBlueprints->checksum() #1 /grav/grav/system/src/Grav/Common/Config/CompiledBase.php(116): Grav\Common\Config\CompiledBase->saveCompiledFile('/grav/grav/cach...') #2 /grav/grav/system/src/Grav/Common/Service/ConfigServiceProvider.php(73): Grav\Common\Config\CompiledBase->load() #3 /grav/grav/system/src/Grav/Common/Service/ConfigServiceProvider.php(31): Grav\Common\Service\ConfigServiceProvider::blueprints(Object(Grav\Common\Grav)) #4 /grav/grav/vendor/pimple/pimple/src/Pimple/Container.php(118): Grav\Common\Service\ConfigServiceProvider->Grav\Common\Service\{closure}(Object(Grav\Common\Grav)) #5 /grav/grav/system/src/Grav/Common/Service/ConfigServiceProvider.php(98): Pimple\Container->offsetGet('blueprints') #6 /grav/grav/system/src/Grav/Common/Data/Data.php(229 in **/grav/grav/system/src/Grav/Common/Config/CompiledBlueprints.php** on line **36**

Suggested topics

Topic Participants Replies Views Activity
Installation & Hosting · by antoinep, 19 hours ago
7 72 50 minutes ago
Installation & Hosting · by Jürgen Dietrich, 7 months ago
0 65 7 months ago
Installation & Hosting · by rappluk, 8 months ago
0 65 8 months ago
Installation & Hosting · by N, 12 months ago
3 76 12 months ago
Installation & Hosting · by Youle, 1 year ago
1 64 1 year ago