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

Help with getting Grav working with te PHP webserver

first-time

Started by pace 6 years ago · 0 replies · 597 views
6 years ago

Hi everyone, so this is my first-time using grav, I know there is a lot to read. I am working on my Fedora 33 workstation. I have PHP 7.4.12 installed and can run the webserver. When I run this in the webroot though I get a unch of issues:

PHP
[::1]:54302 [500]: GET / - Uncaught Error: Interface 'JsonSerializable' not found in /home/blupace/hugo/Grav/system/src/Grav/Common/Data/Data.php:19
Stack trace:
#0 /home/blupace/hugo/Grav/vendor/composer/ClassLoader.php(444): include()
#1 /home/blupace/hugo/Grav/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile()
#2 [internal function]: Composer\Autoload\ClassLoader->loadClass()
#3 /home/blupace/hugo/Grav/system/src/Grav/Common/Config/Setup.php(19): spl_autoload_call()
#4 /home/blupace/hugo/Grav/vendor/composer/ClassLoader.php(444): include('/home/blupace/h...')
#5 /home/blupace/hugo/Grav/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile()
#6 [internal function]: Composer\Autoload\ClassLoader->loadClass()
#7 /home/blupace/hugo/Grav/system/src/Grav/Common/Service/ConfigServiceProvider.php(29): spl_autoload_call()
#8 /home/blupace/hugo/Grav/vendor/pimple/pimple/src/Pimple/Container.php(118): Grav\Common\Service\ConfigServiceProvider->Grav\Common\Service\{closure}()
#9 /home/blupace/hugo/Grav/system/sr in /home/blupace/hugo/Grav/system/src/Grav/Common/Data/Data.php on line 19

Any help gratefully appreciated.

Suggested topics

Topic Participants Replies Views Activity
Support · by webmasterodp, 4 days ago
4 113 3 days ago
Support · by nwhitfield, 5 days ago
2 100 5 days ago
Support · by stell, 2 weeks ago
5 343 1 week ago
Support · by gravinator, 1 month ago
5 541 1 week ago
Support · by Gravver, 3 weeks ago
6 335 3 weeks ago