domain.negotiator not found

Created on 22 March 2023, about 2 years ago

Problem/Motivation

Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "domain.negotiator". in Drupal\Component\DependencyInjection\Container->get() (line 156 of /mysite/html/core/lib/Drupal/Component/DependencyInjection/Container.php).

I clicked on admin/config/system/google-tag/add and got a WSOD.

I also have the domain module on my system. It also has a domain.negotiator.

Could the problem be that google_tag should prefix it's domain.negotiator to not confuse

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

Found this issue that might be related:
πŸ“Œ Move the gtag_domain condition plugin to a submodule Closed: won't fix

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States SocialNicheGuru

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

Comments & Activities

  • Issue created by @SocialNicheGuru
  • πŸ‡ΊπŸ‡ΈUnited States solotandem

    This module does NOT provide a 'domain.negotiator' service so there is nothing to 'prefix' as you suggest.

    My current development site running on Drupal 10 does not have the domain module installed and no errors such as you indicate are present. Visiting the admin/config/system/google-tag/add route does not result in a WSOD. A domain condition is not present on this form.

    Please provide further details.

Production build 0.71.5 2024