Installing on Drupal 10 Throws PluginNotFoundException: The "node_type" plugin does not exist.

Created on 7 February 2023, over 1 year ago
Updated 23 March 2023, over 1 year ago

Steps to reproduce

When installing using this profile on Drupal 10, installation fails with the following error:

The website encountered an unexpected error. Please try again later.
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "node_type" plugin does not exist. Valid plugin IDs for Drupal\Core\Condition\ConditionManager are: request_path, current_theme, user_role, entity_bundle:block_content, entity_bundle:comment, entity_bundle:contact_message, entity_bundle:media, entity_bundle:menu_link_content, entity_bundle:node, entity_bundle:shortcut, entity_bundle:oauth2_token, entity_bundle:taxonomy_term in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 53 of core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).
Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition(Array, 'node_type', 1) (Line: 25)
Drupal\Core\Plugin\DefaultPluginManager->getDefinition('node_type') (Line: 16)
Drupal\Core\Plugin\Factory\ContainerFactory->createInstance('node_type', Array) (Line: 59)
Drupal\Core\Condition\ConditionManager->createInstance('node_type', Array) (Line: 81)
Drupal\Core\Plugin\DefaultLazyPluginCollection->initializePlugin('4417e971-5da1-4026-825a-077b889b2e04') (Line: 80)
Drupal\Component\Plugin\LazyPluginCollection->get('4417e971-5da1-4026-825a-077b889b2e04') (Line: 26)
Drupal\Core\Condition\ConditionPluginCollection->get('4417e971-5da1-4026-825a-077b889b2e04') (Line: 149)
Drupal\Component\Plugin\LazyPluginCollection->getIterator() (Line: 181)
Drupal\pathauto\Entity\PathautoPattern->calculateDependencies() (Line: 320)
Drupal\Core\Config\Entity\ConfigEntityBase->preSave(Object) (Line: 153)
Drupal\pathauto\Entity\PathautoPattern->preSave(Object) (Line: 528)
Drupal\Core\Entity\EntityStorageBase->doPreSave(Object) (Line: 483)
Drupal\Core\Entity\EntityStorageBase->save(Object) (Line: 253)
Drupal\Core\Config\Entity\ConfigEntityStorage->save(Object) (Line: 339)
Drupal\Core\Entity\EntityBase->save() (Line: 608)
Drupal\Core\Config\Entity\ConfigEntityBase->save() (Line: 399)
Drupal\Core\Config\ConfigInstaller->createConfiguration('', Array) (Line: 159)
Drupal\Core\Config\ConfigInstaller->installDefaultConfig('module', 'pantheon_decoupled_example') (Line: 75)
Drupal\Core\ProxyClass\Config\ConfigInstaller->installDefaultConfig('module', 'pantheon_decoupled_example') (Line: 319)
Drupal\Core\Extension\ModuleInstaller->install(Array, 1) (Line: 83)
Drupal\Core\ProxyClass\Extension\ModuleInstaller->install(Array) (Line: 40)
pantheon_decoupled_install_demo_content(Array) (Line: 704)
install_run_task(Array, Array) (Line: 575)
install_run_tasks(Array, NULL) (Line: 119)
install_drupal(Object) (Line: 48)

Proposed resolution

Install should be able to complete without error.

🐛 Bug report
Status

Closed: duplicate

Version

2.0

Component

Code

Created by

🇺🇸United States brianperry

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

Comments & Activities

Production build 0.69.0 2024