You have requested a non-existent service "plugin.manager.group_content_enabler".

Created on 11 January 2023, almost 2 years ago
Updated 10 April 2023, over 1 year ago

Problem/Motivation

Referrer	https://mydrupal9.ddev.site/admin/config/search/path/patterns
Message	Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "plugin.manager.group_content_enabler". in Drupal\Component\DependencyInjection\Container->get() (line 157 of /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php).

Steps to reproduce

Enable group module and pathauto on a clean Drupal 9 install. Visit the configuration page or the pathauto patterns and try and edit the pattern.

Proposed resolution

My guess it's related to tokens and

  // Build per entity type chained tokens.
  $plugin_manager = \Drupal::service('plugin.manager.group_content_enabler');

on line 137 group.tokens.inc

πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom lexsoft London

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024