You have requested a non-existent service "pathauto.alias_cleaner".

Created on 9 November 2023, about 1 year ago

Problem/Motivation

I recently upgraded from druapl 8.8.6 to 9.5.11
I am getting the below error while running post-update through Drupal UI.

Error
views module

Update sort_identifier

Failed: Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "pathauto.alias_cleaner". in Symfony\Component\DependencyInjection\ContainerBuilder->getDefinition() (line 1030 of /var/www/html/vendor/symfony/dependency-injection/ContainerBuilder.php).

Steps to reproduce

Run the schema update after updating Drupal Core.

or using the below

./vendor/bin/drush updatedb
-------- -------------------- ------------- ----------------------------------
Module Update ID Type Description
-------- -------------------- ------------- ----------------------------------
views sort_identifier post-update Add the identifier option to all
sort handler configurations.
views title_translations post-update Rebuild routes to fix view title
translations.
-------- -------------------- ------------- ----------------------------------

Do you wish to run the specified pending updates? (yes/no) [yes]:
> yes

> [notice] Update started: views_post_update_sort_identifier
> [error] You have requested a non-existent service "pathauto.alias_cleaner".
> [error] Update failed: views_post_update_sort_identifier
[error] Update aborted by: views_post_update_sort_identifier
[error] Finished performing updates.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇮🇳India Rajesh RS

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