Skip to content
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

Flex Objects getRoute() error when running Grav scheduler #151

Open
superhu4 opened this issue Nov 26, 2021 · 1 comment
Open

Flex Objects getRoute() error when running Grav scheduler #151

superhu4 opened this issue Nov 26, 2021 · 1 comment
Assignees
Labels
bug Something isn't working fixed Issue has already been fixed

Comments

@superhu4
Copy link

After updating plugins, I now get the following error when bin/grav scheduler runs:

PHP Fatal error:  Uncaught Error: Call to a member function getRoute() on null in /home/example.com/gravsite/user/plugins/flex-objects/flex-objects.php:293
Stack trace:
#0 /home/example.com/gravsite/vendor/symfony/event-dispatcher/EventDispatcher.php(264): Grav\Plugin\FlexObjectsPlugin->onPagesInitialized(Object(RocketTheme\Toolbox\Event\Event), 'onPagesInitiali...', Object(Symfony\Component\EventDispatcher\EventDispatcher))
#1 /home/example.com/gravsite/vendor/symfony/event-dispatcher/EventDispatcher.php(239): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'onPagesInitiali...', Object(RocketTheme\Toolbox\Event\Event))
#2 /home/example.com/gravsite/vendor/symfony/event-dispatcher/EventDispatcher.php(73): Symfony\Component\EventDispatcher\EventDispatcher->callListeners(Array, 'onPagesInitiali...', Object(RocketTheme\Toolbox\Event\Event))
#3 /home/example.com/gravsite/system/src/Grav/Common/Grav.php in /home/example.com/gravsite/user/plugins/flex-objects/flex-objects.php on line 293

Any input is welcome!

@mahagr
Copy link
Contributor

mahagr commented Nov 28, 2021

Please try with above fix. :)

@mahagr mahagr added bug Something isn't working fixed Issue has already been fixed labels Nov 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed Issue has already been fixed
Projects
None yet
Development

No branches or pull requests

2 participants