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

grav.CRITICAL: Cannot load blueprint blueprints://flex-objects/pages.yaml: Failed to read pages: #135

Open
gibumpark opened this issue Sep 2, 2021 · 1 comment

Comments

@gibumpark
Copy link

gibumpark commented Sep 2, 2021

grav.CRITICAL: Cannot load blueprint blueprints://flex-objects/pages.yaml: Failed to read pages: is_file() expects parameter 1 to be a valid path, string given - Trace: 
#0 /Users/gibum/Sites/macweb/system/src/Grav/Framework/Flex/FlexDirectory.php(778): RocketTheme\Toolbox\Blueprints\BlueprintForm->load(NULL) 
#1 /Users/gibum/Sites/macweb/system/src/Grav/Framework/Flex/FlexDirectory.php(156): Grav\Framework\Flex\FlexDirectory->getBlueprintInternal() 
#2 /Users/gibum/Sites/macweb/user/plugins/flex-objects/classes/Admin/AdminController.php(1751): Grav\Framework\Flex\FlexDirectory->getConfig('admin') 
#3 /Users/gibum/Sites/macweb/user/plugins/flex-objects/classes/Admin/AdminController.php(1263): Grav\Plugin\FlexObjects\Admin\AdminController->getAdminRoutes() 
#4 /Users/gibum/Sites/macweb/user/plugins/flex-objects/flex-objects.php(242): Grav\Plugin\FlexObjects\Admin\AdminController->__construct() 
#5 /Users/gibum/Sites/macweb/vendor/symfony/event-dispatcher/EventDispatcher.php(264): Grav\Plugin\FlexObjectsPlugin->onThemeInitialized(Object(RocketTheme\Toolbox\Event\Event), 'onThemeInitiali...', Object(Symfony\Component\EventDispatcher\EventDispatcher)) 
#6 /Users/gibum/Sites/macweb/vendor/symfony/event-dispatcher/EventDispatcher.php(239): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'onThemeInitiali...', Object(RocketTheme\Toolbox\Event\Event)) 
#7 /Users/gibum/Sites/macweb/vendor/symfony/event-dispatcher/EventDispatcher.php(73): Symfony\Component\EventDispatcher\EventDispatcher->callListeners(Array, 'onThemeInitiali...', Object(RocketTheme\Toolbox\Event\Event)) 
#8 /Users/gibum/Sites/macweb/system/src/Grav/Common/Grav.php(556): Symfony\Component\EventDispatcher\EventDispatcher->dispatch(Object(RocketTheme\Toolbox\Event\Event), 'onThemeInitiali...') 
#9 /Users/gibum/Sites/macweb/system/src/Grav/Common/Themes.php(112): Grav\Common\Grav->fireEvent('onThemeInitiali...') 
#10 /Users/gibum/Sites/macweb/user/plugins/admin/classes/plugin/Themes.php(18): Grav\Common\Themes->initTheme() 
#11 /Users/gibum/Sites/macweb/system/src/Grav/Common/Processors/ThemesProcessor.php(35): Grav\Plugin\Admin\Themes->init() 
#12 /Users/gibum/Sites/macweb/system/src/Grav/Framework/RequestHandler/Traits/RequestHandlerTrait.php(50): Grav\Common\Processors\ThemesProcessor->process(Object(Nyholm\Psr7\ServerRequest), Object(Grav\Framework\RequestHandler\RequestHandler)) 
@mahagr
Copy link
Contributor

mahagr commented Sep 3, 2021

This is the first time I've seen an issue like this. The file should be located in user/plugins/flex-objects/blueprints/flex-objects/pages.yaml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants