You have requested a non-existent service "domain.negotiator".

Created on 1 February 2023, almost 2 years ago

Problem/Motivation

When calling the page /site_assistant/assistant/add with installed google_tag module the following error is thrown.

The website encountered an unexpected error. Please try again later.

Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "domain.negotiator". in Drupal\Component\DependencyInjection\Container->get() (line 156 of core/lib/Drupal/Component/DependencyInjection/Container.php).
Drupal\google_tag\Plugin\Condition\Domain::create(Object, Array, 'gtag_domain', Array) (Line: 21)
Drupal\Core\Plugin\Factory\ContainerFactory->createInstance('gtag_domain', Array) (Line: 59)
Drupal\Core\Condition\ConditionManager->createInstance('gtag_domain') (Line: 70)

Proposed resolution

  • conditionManager should use correct notation to retrieve plugins available

I'll take care of the issue and fix the notation.

🐛 Bug report
Status

Closed: works as designed

Version

1.0

Component

Code

Created by

🇩🇪Germany SteffenR Germany

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

Comments & Activities

  • Issue created by @SteffenR
  • Issue was unassigned.
  • Status changed to Closed: works as designed almost 2 years ago
  • 🇩🇪Germany SteffenR Germany

    Since the problem is related to google_tag module, i'll close the issue.

Production build 0.71.5 2024