Parent definition "eca.execution.subscriber_parent" does not exist.

Created on 4 January 2024, 11 months ago
Updated 18 January 2024, 10 months ago

Problem/Motivation

When I try to install eca_push_framework I get this error:

Symfony\Component\DependencyInjection\Exception\RuntimeException: Service "eca_push_framework.subscriber": Parent definition "eca.execution.subscriber_parent" does not exist. in Symfony\Component\DependencyInjection\Compiler\ResolveChildDefinitionsPass->doResolveDefinition() (line 75 of /path/to/public_html/vendor/symfony/dependency-injection/Compiler/ResolveChildDefinitionsPass.php).

This is in eca_push_framework.services.yml:

services:
  eca_push_framework.subscriber:
    class: Drupal\eca_push_framework\EventSubscriber\EcaPushFramework
    parent: eca.execution.subscriber_parent
    tags:
      - { name: event_subscriber }

I can't find "eca.execution.subscriber_parent" or any reference to it anywhere else in my code.

Is this a bug or am I missing something?

Traceback:

Symfony\Component\DependencyInjection\Compiler\ResolveChildDefinitionsPass->resolveDefinition() (Line: 44)
Symfony\Component\DependencyInjection\Compiler\ResolveChildDefinitionsPass->processValue() (Line: 86)
Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass->processValue() (Line: 35)
Symfony\Component\DependencyInjection\Compiler\ResolveChildDefinitionsPass->processValue() (Line: 47)
Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass->process() (Line: 80)
Symfony\Component\DependencyInjection\Compiler\Compiler->compile() (Line: 767)
Symfony\Component\DependencyInjection\ContainerBuilder->compile() (Line: 1335)
Drupal\Core\DrupalKernel->compileContainer() (Line: 934)
Drupal\Core\DrupalKernel->initializeContainer() (Line: 816)
Drupal\Core\DrupalKernel->updateModules() (Line: 608)
Drupal\Core\Extension\ModuleInstaller->updateKernel() (Line: 244)
Drupal\Core\Extension\ModuleInstaller->install() (Line: 83)
Drupal\Core\ProxyClass\Extension\ModuleInstaller->install() (Line: 502)
Drupal\system\Form\ModulesListForm->submitForm()
call_user_func_array() (Line: 114)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers() (Line: 52)
Drupal\Core\Form\FormSubmitter->doSubmitForm() (Line: 609)
Drupal\Core\Form\FormBuilder->processForm() (Line: 325)
Drupal\Core\Form\FormBuilder->buildForm() (Line: 73)
Drupal\Core\Controller\FormController->getContentResult()
call_user_func_array() (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 592)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 704)
Drupal\Core\DrupalKernel->handle() (Line: 19)

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

2.3

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States rclemings

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024