Dependency on a non-existent service plugin.manager.migration

Created on 17 February 2023, almost 2 years ago
Updated 6 December 2023, about 1 year ago

Problem/Motivation

I updated the module to the latest version 2.0.6 and now when I clear cache I get the following error "The service "path_redirect_import.redirect_export" has a dependency on a non-existent service "plugin.manager.migration""

It was a dependency issue with 2.0, but I'm still experiencing it:
https://www.drupal.org/project/path_redirect_import/issues/3280736

I've tried the proposed work around here, but it didn't work for me.
https://www.drupal.org/project/path_redirect_import/issues/3280736#comme...

💬 Support request
Status

Closed: outdated

Version

2.0

Component

Miscellaneous

Created by

🇺🇸United States jtufo

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

Comments & Activities

  • Issue created by @jtufo
  • 🇮🇳India libbna New Delhi, India

    I also faced the same issue but when I installed both modules `migration_tools and migration_source_csv` then I didn't get any error while updating the `path_redirect_import` module to latest version. @jtufo

  • 🇧🇷Brazil aluzzardi Pelotas, RS

    Does this have a migration path documented?
    I tried going from version 1.0-beta5 to version 2.0.6 and this issue is still happening.

  • 🇧🇷Brazil aluzzardi Pelotas, RS

    What solved in my case:
    Return back to version 1.0-beta5
    Installed version 2 dependencies via composer:
    composer require drupal/migrate_tools drupal/migrate_source_csv -W
    Enabled these modules:
    drush en migrate_tools migrate_source_csv
    Then updated this module version to 2.0.6
    composer require drupal/path_redirect_import:"^2.0"
    Then no error showed anymore.

  • 🇧🇷Brazil aluzzardi Pelotas, RS

    Also, you can check this issue:
    https://www.drupal.org/project/path_redirect_import/issues/3313386 🐛 Drush updb fails when upgrading from 8.x-1.0 to 2.0.5 Fixed

  • 🇮🇳India libbna New Delhi, India

    @aluzzardi I followed your steps that you mentioned and for a time being it solved the issue. But after sometime or next day if I try to clear the cache using ddev drush cr then again it throws the same error. Does this issue have some permanent solution? All three modules are up-to-date the drupal 10 but don't know why this error is coming.

  • Status changed to Closed: outdated about 1 year ago
  • 🇪🇸Spain plopesc Valladolid

    I think this issue has been already fixed in 🐛 Drush updb fails when upgrading from 8.x-1.0 to 2.0.5 Fixed

    Feel free to reopen it if problems persist.

    Thank you!

Production build 0.71.5 2024