Skip to content

Commit 501e151

Browse files
authored
Fix fatal error ServiceNotFoundException
Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "symfony\component\eventdispatcher\eventdispatcher". in /Volumes/webdev/www/digipolis/drupal_module_dg-auth/vendor/symfony/dependency-injection/ContainerBuilder.php on line 1033 Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "symfony\component\eventdispatcher\eventdispatcher". in /Volumes/webdev/www/digipolis/drupal_module_dg-auth/vendor/symfony/dependency-injection/ContainerBuilder.php on line 1033 Call Stack: 0.0033 401152 1. {main}() /Volumes/webdev/www/digipolis/drupal_module_dg-auth/vendor/phpro/grumphp/bin/grumphp:0 0.0036 401472 2. {closure:/Volumes/webdev/www/digipolis/drupal_module_dg-auth/vendor/phpro/grumphp/bin/grumphp:8-51}() /Volumes/webdev/www/digipolis/drupal_module_dg-auth/vendor/phpro/grumphp/bin/grumphp:51 0.0158 1665120 3. GrumPHP\Configuration\ContainerFactory::build() /Volumes/webdev/www/digipolis/drupal_module_dg-auth/vendor/phpro/grumphp/bin/grumphp:46 0.0388 2410560 4. GrumPHP\Configuration\ContainerBuilder::buildFromConfiguration() /Volumes/webdev/www/digipolis/drupal_module_dg-auth/vendor/phpro/grumphp/src/Configuration/ContainerFactory.php:24 0.1377 5142784 5. Symfony\Component\DependencyInjection\ContainerBuilder->compile() /Volumes/webdev/www/digipolis/drupal_module_dg-auth/vendor/phpro/grumphp/src/Configuration/ContainerBuilder.php:54 0.1405 5149080 6. Symfony\Component\DependencyInjection\Compiler\Compiler->compile() /Volumes/webdev/www/digipolis/drupal_module_dg-auth/vendor/symfony/dependency-injection/ContainerBuilder.php:762
1 parent efe042b commit 501e151

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GrumPHPExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class GrumPHPExtension implements ExtensionInterface
1414
public function load(ContainerBuilder $container)
1515
{
1616
/** @var \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher */
17-
$event_dispatcher = $container->get('symfony\component\eventdispatcher\eventdispatcher');
17+
$event_dispatcher = $container->get('Symfony\Component\EventDispatcher\EventDispatcher');
1818
$event_dispatcher->addSubscriber(new GrumphpEventSubscriber());
1919
}
2020
}

0 commit comments

Comments
 (0)