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

Enabling PHP Debug Bar causes fatal error #2634

Closed
mikebi42 opened this issue Aug 18, 2019 · 1 comment
Closed

Enabling PHP Debug Bar causes fatal error #2634

mikebi42 opened this issue Aug 18, 2019 · 1 comment

Comments

@mikebi42
Copy link

image
image

Grav v1.7.0-beta.5 - Admin v1.10.0-beta.5

@mikebi42
Copy link
Author

[2019-08-18 20:40:44] grav.CRITICAL: 'Streams' is already a registered collector - Trace: #0 C:\wamp64\www\grav\system\src\Grav\Common\Debugger.php(443): DebugBar\DebugBar->addCollector(Object(DebugBar\DataCollector\ConfigCollector)) #1 C:\wamp64\www\grav\user\plugins\gantry5\Debugger.php(213): Grav\Common\Debugger->addCollector(Object(DebugBar\DataCollector\ConfigCollector)) #2 C:\wamp64\www\grav\user\plugins\gantry5\src\classes\Gantry\Framework\Services\StreamsServiceProvider.php(39): Gantry\Debugger::setLocator(Object(RocketTheme\Toolbox\ResourceLocator\UniformResourceLocator)) #3 C:\wamp64\www\grav\vendor\pimple\pimple\src\Pimple\Container.php(118): Gantry\Framework\Services\StreamsServiceProvider->Gantry\Framework\Services{closure}(Object(Gantry\Framework\Gantry)) #4 C:\wamp64\www\grav\user\plugins\gantry5\src\classes\Gantry\Component\Theme\AbstractTheme.php(190): Pimple\Container->offsetGet('streams') #5 C:\wamp64\www\grav\user\plugins\gantry5\src\classes\Gantry\Component\Theme\AbstractTheme.php(67): Gantry\Component\Theme\AbstractTheme->init() #6 C:\wamp64\www\grav\user\themes\g5_anacron\theme.php(64): Gantry\Component\Theme\AbstractTheme->__construct('C:/wamp64/www/g...', 'g5_anacron') #7 C:\wamp64\www\grav\vendor\pimple\pimple\src\Pimple\Container.php(118): Grav\Theme\G5_Anacron->Grav\Theme{closure}(Object(Gantry\Framework\Gantry)) #8 C:\wamp64\www\grav\user\plugins\gantry5\gantry5.php(163): Pimple\Container->offsetGet('theme') #9 C:\wamp64\www\grav\vendor\symfony\event-dispatcher\EventDispatcher.php(212): Grav\Plugin\Gantry5Plugin->initializeGantryTheme(Object(RocketTheme\Toolbox\Event\Event), 'onThemeInitiali...', Object(RocketTheme\Toolbox\Event\EventDispatcher)) #10 C:\wamp64\www\grav\vendor\symfony\event-dispatcher\EventDispatcher.php(44): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'onThemeInitiali...', Object(RocketTheme\Toolbox\Event\Event)) #11 C:\wamp64\www\grav\vendor\rockettheme\toolbox\Event\src\EventDispatcher.php(23): Symfony\Component\EventDispatcher\EventDispatcher->dispatch('onThemeInitiali...', Object(RocketTheme\Toolbox\Event\Event)) #12 C:\wamp64\www\grav\system\src\Grav\Common\Grav.php(392): RocketTheme\Toolbox\Event\EventDispatcher->dispatch('onThemeInitiali...', Object(RocketTheme\Toolbox\Event\Event)) #13 C:\wamp64\www\grav\system\src\Grav\Common\Themes.php(77): Grav\Common\Grav->fireEvent('onThemeInitiali...') #14 C:\wamp64\www\grav\system\src\Grav\Common\Themes.php(53): Grav\Common\Themes->initTheme() #15 C:\wamp64\www\grav\system\src\Grav\Common\Processors\ThemesProcessor.php(24): Grav\Common\Themes->init() #16 C:\wamp64\www\grav\system\src\Grav\Framework\RequestHandler\Traits\RequestHandlerTrait.php(45): Grav\Common\Processors\ThemesProcessor->process(Object(Nyholm\Psr7\ServerRequest), Object(Grav\Framework\RequestHandler\RequestHandler)) #17 C:\wamp64\www\grav\system\src\Grav\Framework\RequestHandler\Traits\RequestHandlerTrait.php(57): Grav\Framework\RequestHandler\RequestHandler->handle(Object(Nyholm\Psr7\ServerRequest)) #18 C:\wamp64\www\grav\system\src\Grav\Common\Processors\PluginsProcessor.php(30): Grav\Framework\RequestHandler\RequestHandler->handle(Object(Nyholm\Psr7\ServerRequest)) #19 C:\wamp64\www\grav\system\src\Grav\Framework\RequestHandler\Traits\RequestHandlerTrait.php(45): Grav\Common\Processors\PluginsProcessor->process(Object(Nyholm\Psr7\ServerRequest), Object(Grav\Framework\RequestHandler\RequestHandler)) #20 C:\wamp64\www\grav\system\src\Grav\Framework\RequestHandler\Traits\RequestHandlerTrait.php(57): Grav\Framework\RequestHandler\RequestHandler->handle(Object(Nyholm\Psr7\ServerRequest)) #21 C:\wamp64\www\grav\system\src\Grav\Common\Processors\InitializeProcessor.php(66): Grav\Framework\RequestHandler\RequestHandler->handle(Object(Nyholm\Psr7\ServerRequest)) #22 C:\wamp64\www\grav\system\src\Grav\Common\Debugger.php(533): Grav\Common\Processors\InitializeProcessor->Grav\Common\Processors{closure}() #23 C:\wamp64\www\grav\system\src\Grav\Common\Processors\InitializeProcessor.php(67): Grav\Common\Debugger->profile(Object(Closure)) #24 C:\wamp64\www\grav\system\src\Grav\Framework\RequestHandler\Traits\RequestHandlerTrait.php(45): Grav\Common\Processors\InitializeProcessor->process(Object(Nyholm\Psr7\ServerRequest), Object(Grav\Framework\RequestHandler\RequestHandler)) #25 C:\wamp64\www\grav\system\src\Grav\Framework\RequestHandler\Traits\RequestHandlerTrait.php(57): Grav\Framework\RequestHandler\RequestHandler->handle(Object(Nyholm\Psr7\ServerRequest)) #26 C:\wamp64\www\grav\system\src\Grav\Common\Grav.php(224): Grav\Framework\RequestHandler\RequestHandler->handle(Object(Nyholm\Psr7\ServerRequest)) #27 C:\wamp64\www\grav\index.php(56): Grav\Common\Grav->process() #28 {main} [] []

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

No branches or pull requests

2 participants