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

PHP Fatal Error [SOLVED] [GFFI]

Started by Mattias Magnusson 8 years ago · 7 replies · 1123 views
8 years ago

For some reason i got this error today, four lines with the exactly same error, after each other as well, at the same time. Any thoughts? Running PHP 7.1.15

PHP Fatal error: Uncaught Error: Call to undefined method DateTime::setTimezone() in Grav\vendor\monolog\monolog\src\Monolog\Logger.php:320\nStack trace:\n#0 Grav\vendor\monolog\monolog\src\Monolog\Logger.php(392): Monolog\Logger->addRecord(300, 'Plugin 'gffi' e...', Array)\n#1 Grav\system\src\Grav\Common\Plugins.php(190): Monolog\Logger->addWarning('Plugin 'gffi' e...')\n#2 Grav\system\src\Grav\Common\Plugins.php(42): Grav\Common\Plugins->loadPlugin('gffi')\n#3 Grav\system\src\Grav\Common\Grav.php(428): Grav\Common\Plugins->__construct(Object(Grav\Common\Grav))\n#4 Grav\vendor\pimple\pimple\src\Pimple\Container.php(118): Grav\Common\Grav->Grav\Common\{closure}(Object(Grav\Common\Grav))\n#5 Grav\system\src\Grav\Common\Processors\ConfigurationProcessor.php(19): Pimple\Container->offsetGet('plugins')\n#6 Grav\system\src\Grav\Common\Grav.php(133): Grav\Common\Processors\ConfigurationProcessor->process()\n#7 Grav\system\src in Grav\vendor\monolog\monolog\src\Monolog\Logger.php on line 320

8 years ago

@mattish.91:
gffi

Can you try to disable the gffi plugin if you have that installed?

8 years ago

it seamed to be located in the plugins folder tho, even if it didn't show up, should i just displace it?

8 years ago

Weird, since it loads the plugin somehow, have you got any plugins installed at all? I'll try to replicate with the same php version/setup

8 years ago

i did have the gffi folder in the plugins, but it did'nt show up in plugins page in dashboard, not sure when i might have installed that tho, restarted apache, just to be sure it would'nt show up in my new logs, so i guess i have to see if it helped, but like you pointed out, it even showed up in the logs ^^ all my pages does work fine after removing gffi from plugins folder. hopefully not showing up again ^^ Thanks!

👍 1
8 years ago

it was kind of wierd that i have never gotten that error before tho, but it seams that gallery plugin is broken since it doesn't show up as installed when it apparently were.

8 years ago

true, might have been cache or something else that was left behind on accident, anyway if it's solved, awesome! ;) Mark this as solved if you want :) Have a good Grav'time :)

Suggested topics

Topic Participants Replies Views Activity
Support · by Thomas, 1 week ago
2 53 9 hours ago
Support · by Anna, 3 days ago
2 59 12 hours ago
Support · by Justin Young, 13 hours ago
1 30 13 hours ago
Support · by Duc , 1 week ago
2 65 5 days ago
Support · by Colin Hume, 1 week ago
2 56 5 days ago