Skip to content

Instantly share code, notes, and snippets.

@larseirik
Last active September 11, 2015 12:58
Show Gist options
  • Save larseirik/4c873adc0ed7ce5686cf to your computer and use it in GitHub Desktop.
Save larseirik/4c873adc0ed7ce5686cf to your computer and use it in GitHub Desktop.
[Symfony\Component\DependencyInjection\Exception\InactiveScopeException]
You cannot create a service ("request") of an inactive scope ("request").
Exception trace:
() at /var/www/ezpublish/cache/dev/ezpublishDevDebugProjectContainer.php:17467
ezpublishDevDebugProjectContainer->getRequestService() at /var/www/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php:327
Symfony\Component\DependencyInjection\Container->get() at /var/www/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Legacy/Kernel/Loader.php:152
eZ\Publish\Core\MVC\Legacy\Kernel\Loader->eZ\Publish\Core\MVC\Legacy\Kernel\{closure}() at /var/www/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Legacy/Kernel/Loader.php:114
eZ\Publish\Core\MVC\Legacy\Kernel\Loader->eZ\Publish\Core\MVC\Legacy\Kernel\{closure}() at /var/www/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/SignalSlot/Slot/AbstractLegacySlot.php:51
eZ\Publish\Core\SignalSlot\Slot\AbstractLegacySlot->runLegacyKernelCallback() at /var/www/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/SignalSlot/Slot/LegacyPublishVersionSlot.php:38
eZ\Publish\Core\SignalSlot\Slot\LegacyPublishVersionSlot->receive() at /var/www/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/SignalSlot/SignalDispatcher/DefaultSignalDispatcher.php:74
eZ\Publish\Core\SignalSlot\SignalDispatcher\DefaultSignalDispatcher->emit() at /var/www/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/SignalSlot/SignalDispatcher/SignalDispatcherTransactionWrapper.php:67
eZ\Publish\Core\SignalSlot\SignalDispatcher\SignalDispatcherTransactionWrapper->emit() at /var/www/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/SignalSlot/ContentService.php:432
eZ\Publish\Core\SignalSlot\ContentService->publishVersion() at /var/www/src/Nupi/SiteBundle/Command/ImportCristinPublicationCommand.php:126
Nupi\SiteBundle\Command\ImportCristinPublicationCommand->execute() at /var/www/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:259
Symfony\Component\Console\Command\Command->run() at /var/www/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:886
Symfony\Component\Console\Application->doRunCommand() at /var/www/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:195
Symfony\Component\Console\Application->doRun() at /var/www/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:96
Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /var/www/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/Console/Application.php:41
eZ\Bundle\EzPublishCoreBundle\Console\Application->doRun() at /var/www/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:126
Symfony\Component\Console\Application->run() at /var/www/ezpublish/console:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment