-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grav 1.6.19 on PHP 7.4.1 is broken (again?) #81
Labels
Comments
Based on the stacktrace the error is in the "comments" plugin. I'm moving the issue there. |
Yeah, just to confirm this... , if I disable the Comments plugin the pages does work! but you probably already knew that :) Like that I have hopes to develop a new website with the comments disabled until there is an update to fix this. |
I have the same issue. |
Fixed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have tried Grav on 7.4 before and I realized it was broken in several places. I fixed a couple of those but more kept appearing in different places, I decided to wait for an official update.
According to getgrav/grav#2750 this updated supposedly have fixed some of the problems I have seen before. But as I am testing it now, I get again:
And at the log, there is a non polite message:
Trying to access array offset on value of type null - Trace: #0 /data/webserver/www-gravtest-com/system/src/Grav/Common/Debugger.php(352): Whoops\Run->handleError() getgrav/grav#1 /data/webserver/www-gravtest-com/user/plugins/comments/comments.php(350): Grav\Common\Debugger->deprecatedErrorHandler() getgrav/grav#2 /data/webserver/www-gravtest-com/user/plugins/comments/comments.php(77): Grav\Plugin\CommentsPlugin->fetchComments() getgrav/grav#3 /data/webserver/www-gravtest-com/vendor/symfony/event-dispatcher/EventDispatcher.php(212): Grav\Plugin\CommentsPlugin->onTwigSiteVariables() getgrav/grav#4 /data/webserver/www-gravtest-com/vendor/symfony/event-dispatcher/EventDispatcher.php(44): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() getgrav/grav#5 /data/webserver/www-gravtest-com/vendor/rockettheme/toolbox/Event/src/EventDispatcher.php(23): Symfony\Component\EventDispatcher\EventDispatcher->dispatch() getgrav/grav#6 /data/webserver/www-gravtest-com/system/src/Grav/Common/Grav.php(377): RocketTheme\Toolbox\Event\EventDispatcher->dispatch() getgrav/grav#7 /data/webserver/www-gravtest-com/system/src/Grav/Common/Twig/Twig.php(363): Grav\Common\Grav->fireEvent() getgrav/grav#8 /data/webserver/www-gravtest-com/system/src/Grav/Common/Service/OutputServiceProvider.php(28): Grav\Common\Twig\Twig->processSite() getgrav/grav#9 /data/webserver/www-gravtest-com/vendor/pimple/pimple/src/Pimple/Container.php(118): Grav\Common\Service\OutputServiceProvider->Grav\Common\Service\{closure}() getgrav/grav#10 /data/webserver/www-gravtest-com/system/src/Grav/Common/Processors/RenderProcessor.php(28): Pimple\Container->offsetGet() getgrav/grav#11 /data/webserver/www-gravtest-com/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php(45): Grav\Common\Processors\RenderProcessor->process() getgrav/grav#12 /data/webserver/www-gravtest-com/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php(57): Grav\Framework\RequestHandler\RequestHandler->handle() getgrav/grav#13 /data/webserver/www-gravtest-com/system/src/Grav/Common/Processors/DebuggerAssetsProcessor.php(28): Grav\Framework\RequestHandler\RequestHandler->handle() getgrav/grav#14 /data/webserver/www-gravtest-com/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php(45): Grav\Common\Processors\DebuggerAssetsProcessor->process() getgrav/grav#15 /data/webserver/www-gravtest-com/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php(57): Grav\Framework\RequestHandler\RequestHandler->handle() getgrav/grav#16 /data/webserver/www-gravtest-com/system/src/Grav/Common/Processors/PagesProcessor.php(69): Grav\Framework\RequestHandler\RequestHandler->handle() getgrav/grav#17 /data/webserver/www-gravtest-com/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php(45): Grav\Common\Processors\PagesProcessor->process() getgrav/grav#18 /data/webserver/www-gravtest-com/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php(57): Grav\Framework\RequestHandler\RequestHandler->handle() getgrav/grav#19 /data/webserver/www-gravtest-com/system/src/Grav/Common/Processors/TwigProcessor.php(27): Grav\Framework\RequestHandler\RequestHandler->handle() getgrav/grav#20 /data/webserver/www-gravtest-com/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php(45): Grav\Common\Processors\TwigProcessor->process() getgrav/grav#21 /data/webserver/www-gravtest-com/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php(57): Grav\Framework\RequestHandler\RequestHandler->handle() getgrav/grav#22 /data/webserver/www-gravtest-com/system/src/Grav/Common/Processors/AssetsProcessor.php(28): Grav\Framework\RequestHandler\RequestHandler->handle() getgrav/grav#23 /data/webserver/www-gravtest-com/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php(45): Grav\Common\Processors\AssetsProcessor->process() getgrav/grav#24 /data/webserver/www-gravtest-com/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php(57): Grav\Framework\RequestHandler\RequestHandler->handle() getgrav/grav#25 /data/webserver/www-gravtest-com/system/src/Grav/Common/Processors/SchedulerProcessor.php(29): Grav\Framework\RequestHandler\RequestHandler->handle() getgrav/grav#26 /data/webserver/www-gravtest-com/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php(45): Grav\Common\Processors\SchedulerProcessor->process() getgrav/grav#27 /data/webserver/www-gravtest-com/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php(57): Grav\Framework\RequestHandler\RequestHandler->handle() getgrav/grav#28 /data/webserver/www-gravtest-com/system/src/Grav/Common/Processors/BackupsProcessor.php(28): Grav\Framework\RequestHandler\RequestHandler->handle() getgrav/grav#29 /data/webserver/www-gravtest-com/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php(45): Grav\Common\Processors\BackupsProcessor->process() getgrav/grav#30 /data/webserver/www-gravtest-com/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php(57): Grav\Framework\RequestHandler\RequestHandler->handle() getgrav/grav#31 /data/webserver/www-gravtest-com/system/src/Grav/Common/Processors/TasksProcessor.php(59): Grav\Framework\RequestHandler\RequestHandler->handle() getgrav/grav#32 /data/webserver/www-gravtest-com/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php(45): Grav\Common\Processors\TasksProcessor->process() getgrav/grav#33 /data/webserver/www-gravtest-com/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php(57): Grav\Framework\RequestHandler\RequestHandler->handle() getgrav/grav#34 /data/webserver/www-gravtest-com/system/src/Grav/Common/Processors/RequestProcessor.php(52): Grav\Framework\RequestHandler\RequestHandler->handle() getgrav/grav#35 /data/webserver/www-gravtest-com/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php(45): Grav\Common\Processors\RequestProcessor->process() getgrav/grav#36 /data/webserver/www-gravtest-com/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php(57): Grav\Framework\RequestHandler\RequestHandler->handle() getgrav/grav#37 /data/webserver/www-gravtest-com/system/src/Grav/Common/Processors/ThemesProcessor.php(27): Grav\Framework\RequestHandler\RequestHandler->handle() getgrav/grav#38 /data/webserver/www-gravtest-com/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php(45): Grav\Common\Processors\ThemesProcessor->process() getgrav/grav#39 /data/webserver/www-gravtest-com/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php(57): Grav\Framework\RequestHandler\RequestHandler->handle() getgrav/grav#40 /data/webserver/www-gravtest-com/system/src/Grav/Common/Processors/PluginsProcessor.php(30): Grav\Framework\RequestHandler\RequestHandler->handle() getgrav/grav#41 /data/webserver/www-gravtest-com/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php(45): Grav\Common\Processors\PluginsProcessor->process() getgrav/grav#42 /data/webserver/www-gravtest-com/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php(57): Grav\Framework\RequestHandler\RequestHandler->handle() getgrav/grav#43 /data/webserver/www-gravtest-com/system/src/Grav/Common/Processors/InitializeProcessor.php(78): Grav\Framework\RequestHandler\RequestHandler->handle() getgrav/grav#44 /data/webserver/www-gravtest-com/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php(45): Grav\Common\Processors\InitializeProcessor->process() getgrav/grav#45 /data/webserver/www-gravtest-com/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php(57): Grav\Framework\RequestHandler\RequestHandler->handle() getgrav/grav#46 /data/webserver/www-gravtest-com/system/src/Grav/Common/Processors/DebuggerProcessor.php(27): Grav\Framework\RequestHandler\RequestHandler->handle() getgrav/grav#47 /data/webserver/www-gravtest-com/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php(45): Grav\Common\Processors\DebuggerProcessor->process() getgrav/grav#48 /data/webserver/www-gravtest-com/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php(57): Grav\Framework\RequestHandler\RequestHandler->handle() getgrav/grav#49 /data/webserver/www-gravtest-com/system/src/Grav/Common/Processors/ErrorsProcessor.php(27): Grav\Framework\RequestHandler\RequestHandler->handle() getgrav/grav#50 /data/webserver/www-gravtest-com/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php(45): Grav\Common\Processors\ErrorsProcessor->process() getgrav/grav#51 /data/webserver/www-gravtest-com/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php(57): Grav\Framework\RequestHandler\RequestHandler->handle() getgrav/grav#52 /data/webserver/www-gravtest-com/system/src/Grav/Common/Processors/LoggerProcessor.php(48): Grav\Framework\RequestHandler\RequestHandler->handle() getgrav/grav#53 /data/webserver/www-gravtest-com/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php(45): Grav\Common\Processors\LoggerProcessor->process() getgrav/grav#54 /data/webserver/www-gravtest-com/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php(57): Grav\Framework\RequestHandler\RequestHandler->handle() getgrav/grav#55 /data/webserver/www-gravtest-com/system/src/Grav/Common/Processors/ConfigurationProcessor.php(28): Grav\Framework\RequestHandler\RequestHandler->handle() getgrav/grav#56 /data/webserver/www-gravtest-com/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php(45): Grav\Common\Processors\ConfigurationProcessor->process() getgrav/grav#57 /data/webserver/www-gravtest-com/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php(57): Grav\Framework\RequestHandler\RequestHandler->handle() getgrav/grav#58 /data/webserver/www-gravtest-com/system/src/Grav/Common/Grav.php(249): Grav\Framework\RequestHandler\RequestHandler->handle() getgrav/grav#59 /data/webserver/www-gravtest-com/index.php(53): Grav\Common\Grav->process() getgrav/grav#60 {main}
I kinda feels like, more of the same?
More details:
And:
Running on Arch Linux.
Theme test Receptar.
The text was updated successfully, but these errors were encountered: