Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "path.alias_manager". Did you mean this: "path_alias.manager"? in Drupal\Component\DependencyInjection\Container->get() (line 151 of /Applications/MAMP/htdocs/d9174dev/core/lib/Drupal/Component/DependencyInjection/Container.php).

kindly check The Path Alias core subsystem has been moved to the "path_alias" module

Comments

Hardik_Patel_12 created an issue. See original summary.

hardik_patel_12’s picture

Status: Active » Needs review
StatusFileSize
new1.17 KB

From drupal version >=8.8.0 path.alias_manager services was changed to path_alias.manager.
Kindly review a new patch.

hardik_patel_12’s picture

StatusFileSize
new1.6 KB
new469 bytes

From drupal version >=8.8.0 path.alias_manager services was changed to path_alias.manager. So removing key "core: 8.x" and adding "core_version_requirement: ^8.8 || ^9" from info file. So basically drupal version which are >= 8.8 will now use path_alias.manager instead of path.alias_manager.

naveenvalecha’s picture

Category: Bug report » Task
Status: Needs review » Reviewed & tested by the community

Looks good.

  • Hardik_Patel_12 authored b3b01a6 on 2.0.x
    Issue #3138193 by Hardik_Patel_12: The Path Alias core subsystem has...
hardik_patel_12’s picture

Status: Reviewed & tested by the community » Fixed

Thank-you @naveenvalecha for your wonderful effort, this patch is pushed on 2.0.x branch.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.