After installing IMCE I get this error message:

Symfony\Component\Routing\Exception\RouteNotFoundException: Route "imce.admin" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (line 191 of /usr/home/user/mydomain.com/mydomain.com_project/web/core/lib/Drupal/Core/Routing/RouteProvider.php).

I am not sure what it means.

What is the problem and how do I fix it?

Comments

Barbarian created an issue. See original summary.

mpp’s picture

Status: Active » Closed (works as designed)

That route is defined in imce.routing.yml:

imce.admin:
  path: '/admin/config/media/imce'
  defaults:
    _controller: '\Drupal\imce\Controller\ImceController::adminOverview'
    _title: 'Imce File Manager'
  requirements:
    _permission: 'administer imce'

Perhaps you need to reinstall the module or clear caches?