-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 errors #3062
Comments
What version of Grav + Flex are you on? |
1.7.0-rc.17
|
That should fix it. |
I'm sorry, what should fix it?
… |
Right, thank you. I saw the reply in my email and nothing else. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I keep seeing the following errors in PHP error logs:
[10-Nov-2020 09:13:01 America/New_York] PHP Fatal error: Uncaught TypeError: Argument 1 passed to Grav\Framework\Flex\FlexDirectory::createIndex() must be of the type array, bool given, called in /var/www/webroot/ROOT/system/src/Grav/Framework/Flex/FlexDirectory.php on line 892 and defined in /var/www/webroot/ROOT/system/src/Grav/Framework/Flex/FlexDirectory.php:500
Stack trace:
#0 /var/www/webroot/ROOT/system/src/Grav/Framework/Flex/FlexDirectory.php(892): Grav\Framework\Flex\FlexDirectory->createIndex(false, 'storage_key')
#1 /var/www/webroot/ROOT/system/src/Grav/Framework/Flex/FlexDirectory.php(338): Grav\Framework\Flex\FlexDirectory->loadIndex('')
#2 /var/www/webroot/ROOT/system/src/Grav/Common/Service/AccountsServiceProvider.php(155): Grav\Framework\Flex\FlexDirectory->getIndex()
#3 /var/www/webroot/ROOT/system/src/Grav/Common/Service/AccountsServiceProvider.php(66): Grav\Common\Service\AccountsServiceProvider->flexAccounts(Object(Grav\Common\Grav))
#4 /var/www/webroot/ROOT/vendor/pimple/pimple/src/Pimple/Container.php(118): Grav\Common\Service\AccountsService in /var/www/webroot/ROOT/system/src/Grav/Framework/Flex/FlexDirectory.php on line 500
[10-Nov-2020 09:36:52 America/New_York] PHP Fatal error: Uncaught Error: Call to a member function trackHit() on null in /var/www/webroot/ROOT/user/plugins/admin/admin.php:419
Stack trace:
#0 /var/www/webroot/ROOT/vendor/symfony/event-dispatcher/EventDispatcher.php(264): Grav\Plugin\AdminPlugin->onShutdown(Object(RocketTheme\Toolbox\Event\Event), 'onShutdown', Object(Symfony\Component\EventDispatcher\EventDispatcher))
#1 /var/www/webroot/ROOT/vendor/symfony/event-dispatcher/EventDispatcher.php(239): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'onShutdown', Object(RocketTheme\Toolbox\Event\Event))
#2 /var/www/webroot/ROOT/vendor/symfony/event-dispatcher/EventDispatcher.php(73): Symfony\Component\EventDispatcher\EventDispatcher->callListeners(Array, 'onShutdown', Object(RocketTheme\Toolbox\Event\Event))
#3 /var/www/webroot/ROOT/system/src/Grav/Common/Grav.php(491): Symfony\Component\EventDispatcher\EventDispatcher->dispatch(Object(RocketTheme\Toolbox\Event\Event), 'onShutdown')
#4 /var/www/webroot/ROOT/system/src/Grav/Common/Grav.php(551): Gr in /var/www/webroot/ROOT/user/plugins/admin/admin.php on line 419
I use Flex objects for accounts and pages in a Grav 1.7 rc17 installation.
The text was updated successfully, but these errors were encountered: