Route "easy_install.purge_configurations" does not exist

Created on 14 November 2018, about 6 years ago
Updated 7 March 2024, 9 months ago

When I visit my admin/modules page, I've got a massive error:
Symfony\Component\Routing\Exception\RouteNotFoundException: Route "easy_install.purge_configurations" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName()

Can't install / uninstall modules anymore.
Any help?

🐛 Bug report
Status

RTBC

Version

10.0

Component

Code

Created by

🇳🇱Netherlands dennis cohn

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇹Italy apaderno Brescia, 🇮🇹

    I noticed that the route is defined by the following lines.

    easy_install.purge_configurations:
     path: 'admin/modules/purge_configurations'
     defaults:
      _form: '\Drupal\easy_install\Form\PurgeConfigurationsForm'
      _title: 'Purge Configurations'
     requirements:
      _permission: 'administer modules'
    

    The path should start with a slash, similarly to what done for the other route definition.

    easy_install.purge_configurations_confirm:
      path: '/admin/modules/purge_configurations/confirm'
      defaults:
        _form: '\Drupal\easy_install\Form\PurgeConfigurationsConfirmForm'
        _title: 'Confirm Purge Configurations'
      requirements:
        _permission: 'administer modules'
    
  • Status changed to Needs review 11 months ago
  • 🇮🇹Italy apaderno Brescia, 🇮🇹
  • Status changed to RTBC 9 months ago
  • 🇮🇳India gaurav_manerkar Vasco Da Gama, Goa

    Fix looks good to me

Production build 0.71.5 2024