Service or Alias has been removed.

Created on 20 November 2024, 2 days ago

Problem/Motivation

Installing a profile that uses configuration ymls exported from the Ultimate Cron module this error arises:

Unexpected error during import with operation delete for ultimate_cron.job.webform_cron: The "Drupal\user_list_permission\Routing\UserListPermissionRouteSubscriber" service or alias has been removed or inlined when the container was compiled. You should either make it public, or stop using the container directly and use dependency injection instead.

This Ultimate Cron is not the only module that throws this error in this case when importing the configs through the profile install.

Steps to reproduce

  1. Export Ultimate Cron configuration files.
  2. Use them when installing a profile.

Proposed resolution

Set the users_list_permission.services.yml to public.

πŸ› Bug report
Status

Active

Version

2.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jeffreysmattson

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024