When using composer to remove the group module, it causes a fatal site error.
The website encountered an unexpected error. Try again later.
Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException: Circular reference detected for service "renderer", path: "router_listener -> router -> router.no_access_checks -> url_generator -> renderer -> render_cache -> variation_cache_factory -> form_ajax_subscriber -> form_ajax_response_builder -> main_content_renderer.ajax". in Drupal\Component\DependencyInjection\Container->get() (line 149 of core/lib/Drupal/Component/DependencyInjection/Container.php).
Having installed the module, run the following composer command:
composer remove 'drupal/group'
./composer.json has been updated
Running composer update drupal/group
Loading composer repositories with package information
Updating dependencies
Lock file operations: 0 installs, 0 updates, 4 removals
- Removing drupal/entity (1.4.0)
- Removing drupal/flexible_permissions (1.1.0)
- Removing drupal/group (3.2.2)
- Removing drupal/variationcache (1.5.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 0 updates, 4 removals
- Removing drupal/variationcache (1.5.0)
- Removing drupal/group (3.2.2)
- Removing drupal/flexible_permissions (1.1.0)
- Removing drupal/entity (1.4.0)
Deleting /var/www/wiki.ilocater.nd.edu/web/modules/contrib/variationcache - deleted
Deleting /var/www/wiki.ilocater.nd.edu/web/modules/contrib/flexible_permissions - deleted
Deleting /var/www/wiki.ilocater.nd.edu/web/modules/contrib/entity - deleted
0/1 [>---------------------------] 0%Deleting /var/www/wiki.ilocater.nd.edu/web/modules/contrib/group - deleted
Readding the module, resolves the issue:
composer require 'drupal/group'
./composer.json has been updated
Running composer update drupal/group
Loading composer repositories with package information
Updating dependencies
Lock file operations: 4 installs, 0 updates, 0 removals
- Locking drupal/entity (1.4.0)
- Locking drupal/flexible_permissions (1.1.0)
- Locking drupal/group (3.2.2)
- Locking drupal/variationcache (1.5.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 4 installs, 0 updates, 0 removals
- Installing drupal/variationcache (1.5.0): Extracting archive
- Installing drupal/flexible_permissions (1.1.0): Extracting archive
- Installing drupal/entity (1.4.0): Extracting archive
- Installing drupal/group (3.2.2): Extracting archive
This feels like there is something being left/disturbed in the uninstall process. Not sure what the next steps are.
Active
3.2
Code