When creating a pathauto pattern for a specific taxonomy term vocabulary Drupal triggers the following error message:

Drupal\Component\Plugin\Exception\PluginNotFoundException: The "entity_bundle:taxonomy_term" plugin does not exist. in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 57 of core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).

It's triggered when Drupal is getting a plugin definition for a specific plugin id. In this case, the plugin id appears to be 'entity_bundle:taxonomy_term' instead of the term bundle.

Comments

Gino van Middendorp created an issue. See original summary.

dave reid’s picture

Status: Active » Postponed (maintainer needs more info)

Can you please try with the latest 8.x-1.x-dev version? I'm unable to replicate this issue.

berdir’s picture

More importantly, make sure that you are using the most recent ctools version as well.

berdir’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

No response in 2 weeks, closing.

rafaelcaceres’s picture

I have the same error trying to create a patter for a vocabulary.

2018/04/10 15:24:35 [error] 181#181: *150 FastCGI sent in stderr: "PHP message: Uncaught PHP Exception Drupal\Component\Plugin\Exception\PluginNotFoundException: "The "entity_bundle:taxonomy_term" plugin does not exist." at /drupal/app/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php line 52" while reading response header from upstream,

"http://myproject.local/admin/config/search/path/patterns/add"

  • Chaos tools (ctools) 8.x-3.0
  • Pathauto (pathauto) 8.x-1.1
rafaelcaceres’s picture

I've cleaned the cache and works.

vvs’s picture

#6 and enable ctools...

zietbukuel’s picture

I have this error. I have ctools 4.1.0 and pathauto 1.12. I've cleared the cache many times yet I keep getting the same error.

Update: I also tried the dev version of pathauto, but still getting the error.

This was caused by a patch on Drupal core. Removing this patch fixed this issue.