The "pathauto_pattern" entity type does not exist

Created on 29 March 2016, over 8 years ago
Updated 29 August 2024, 3 months ago

In a fresh instalation on drupal 8.0.5 I installed pathauto 8.x-1.0-alpha2, then I go to admin/config/search/path/patterns and show me this error:

Drupal\Component\Plugin\Exception\PluginNotFoundException: The "pathauto_pattern" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition() (line 130 of core/lib/Drupal/Core/Entity/EntityTypeManager.php).

Drupal\Core\Entity\EntityTypeManager->getHandler('pathauto_pattern', 'list_builder') (Line: 173)
Drupal\Core\Entity\EntityTypeManager->getListBuilder('pathauto_pattern') (Line: 76)
Drupal\Core\Entity\EntityManager->getListBuilder('pathauto_pattern') (Line: 27)
Drupal\Core\Entity\Controller\EntityListController->listing('pathauto_pattern')
call_user_func_array(Array, Array) (Line: 128)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 577)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 129)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 102)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
call_user_func_array(Object, Array) (Line: 139)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 62)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 62)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 53)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 103)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 55)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 637)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
🐛 Bug report
Status

Closed: cannot reproduce

Component

Code

Created by

🇺🇾Uruguay rpayanm

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.

  • I got this error when I enabled the module via `drush` instead of admin UI on Drupal 10.1.6 . I uninstalled it `drush pmu pathauto` and then enabled it via admin UI and all went well.

  • 🇮🇳India zuhair_ak Dubai

    Thanks @cestmoi, I also had the same issue, I imported & enabled the pathauto with config using `drush cim` and I got this error, had to uninstall pathauto using drush and enable it via UI and import the config again, Thanks again

Production build 0.71.5 2024