I upgraded my Drupal from 10.2.1 to 10.4.1. Now whenever i go to url patterns, it is giving me error:
The website encountered an unexpected error. Try again later.
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "entity_bundle:taxonomy_term" plugin does not exist. Valid plugin IDs for Drupal\rules\Core\ConditionManager are: rules_entity_field_access, rules_entity_is_new, rules_entity_is_of_bundle, rules_node_is_of_type, rules_path_alias_exists, rules_node_is_sticky, rules_data_is_empty, rules_user_is_blocked, rules_data_comparison, rules_user_has_role, rules_entity_has_field, rules_text_comparison, rules_list_count_is, rules_path_has_alias, rules_entity_is_of_type, rules_list_contains, rules_node_is_published, rules_node_is_promoted, webform, entity_bundle:node in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 53 of core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).
Drupal\Core\Plugin\DefaultPluginManager->getDefinition('entity_bundle:taxonomy_term') (Line: 16)
Drupal\Core\Plugin\Factory\ContainerFactory->createInstance('entity_bundle:taxonomy_term', Array) (Line: 67)
Drupal\Core\Condition\ConditionManager->createInstance('entity_bundle:taxonomy_term', Array) (Line: 21)
Drupal\rules\Core\ConditionManager->createInstance('entity_bundle:taxonomy_term', Array) (Line: 81)
Drupal\Core\Plugin\DefaultLazyPluginCollection->initializePlugin('8a8dc1a2-cd3d-4b60-a0c7-d6499bfc260d') (Line: 80)
Drupal\Component\Plugin\LazyPluginCollection->get('8a8dc1a2-cd3d-4b60-a0c7-d6499bfc260d') (Line: 26)
Drupal\Core\Condition\ConditionPluginCollection->get('8a8dc1a2-cd3d-4b60-a0c7-d6499bfc260d') (Line: 149)
Drupal\Component\Plugin\LazyPluginCollection->getIterator() (Line: 45)
Drupal\pathauto\PathautoPatternListBuilder->buildRow(Object) (Line: 163)
Drupal\Core\Config\Entity\DraggableListBuilder->buildForm(Array, Object)
call_user_func_array(Array, Array) (Line: 536)
Drupal\Core\Form\FormBuilder->retrieveForm('pathauto_pattern_list', Object) (Line: 284)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 224)
Drupal\Core\Form\FormBuilder->getForm(Object) (Line: 121)
Drupal\Core\Config\Entity\DraggableListBuilder->render() (Line: 23)
Drupal\Core\Entity\Controller\EntityListController->listing('pathauto_pattern')
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 638)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 53)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 53)
Asm89\Stack\Cors->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 741)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
I also tried uninstalling and reinstalling the pathauto. The error goes away but when i add the patterns to certain contents, the "Generate automatic URL alias" checkbox is not showing in the content.
When i go back to 10.2.1, everything works fine.
My composer.json:
{
"name": "pantheon-upstreams/drupal-project",
"description": "Install Drupal 9 with Composer on Pantheon.",
"type": "project",
"license": "MIT",
"repositories": [
{
"type": "composer",
"url": "https://packages.drupal.org/8"
},
{
"type": "composer",
"url": "https://asset-packagist.org"
},
{
"type": "path",
"url": "upstream-configuration"
},
{
"type": "package",
"package": {
"name": "harvesthq/chosen",
"version": "1.8.7",
"type": "drupal-library",
"source": {
"url": "https://github.com/harvesthq/chosen-package.git",
"type": "git",
"reference": "v1.8.7"
}
}
},
{
"type": "package",
"package": {
"name": "desandro/masonry",
"version": "3.3.1",
"type": "drupal-library",
"dist": {
"url": "https://github.com/desandro/masonry/archive/v3.3.1.zip",
"type": "zip"
}
}
},
{
"type": "package",
"package": {
"name": "enyo/dropzone",
"version": "5.7.1",
"type": "drupal-library",
"dist": {
"url": "https://github.com/enyo/dropzone/archive/v5.7.1.zip",
"type": "zip"
}
}
},
{
"type": "package",
"package": {
"name": "desandro/imagesloaded",
"version": "3.1.8",
"type": "drupal-library",
"dist": {
"url": "https://github.com/desandro/imagesloaded/archive/v3.1.8.zip",
"type": "zip"
}
}
},
{
"type": "package",
"package": {
"name": "enyo/dropzone",
"version": "4.2.0",
"type": "drupal-library",
"source": {
"url": "https://github.com/enyo/dropzone",
"type": "git",
"reference": "origin/master"
}
}
}
],
"require": {
"composer/installers": "^1.9",
"cweagans/composer-patches": "^1.7",
"desandro/imagesloaded": "^3.1",
"desandro/masonry": "^3.3",
"drupal/admin_toolbar": "^3.0",
"drupal/bartik": "^1.0",
"drupal/block_class": "^2.0",
"drupal/business_rules": "^3.0@beta",
"drupal/cacheexclude": "^2.0",
"drupal/cas": "^2.2",
"drupal/chosen": "^3.0",
"drupal/ckeditor": "^1.0",
"drupal/ckeditor_breaktag": "^2.0@beta",
"drupal/ckeditor_html_embed": "^1.0",
"drupal/color": "^1.0",
"drupal/color_field": "^3.0",
"drupal/conditional_fields": "^4.0@alpha",
"drupal/content_type_clone": "1.x-dev@dev",
"drupal/core-composer-scaffold": "10.4.1",
"drupal/core-project-message": "10.4.1",
"drupal/core-recommended": "10.4.1",
"drupal/csv_serialization": "^3.0 || ^4.0",
"drupal/ctools": "^3.7",
"drupal/date_popup": "^1.1",
"drupal/devel": "^5.2",
"drupal/devel_entity_updates": "^4.1",
"drupal/diff": "^1.0",
"drupal/disable_field": "^3.0",
"drupal/disable_messages": "^2.0",
"drupal/dropzonejs": "^2.8",
"drupal/editor_advanced_link": "^2.0",
"drupal/entity": "^1.2",
"drupal/entity_browser": "^2.6",
"drupal/entity_reference_revisions": "^1.9",
"drupal/externalauth": "^2.0",
"drupal/extlink": "^1.6",
"drupal/facets": "^2.0",
"drupal/feeds": "^3.0@alpha",
"drupal/fences": "^2.0@RC",
"drupal/field_group": "^3.1",
"drupal/field_validation": "^1.0@beta",
"drupal/file_browser": "^1.3",
"drupal/file_entity": "^2.0@beta",
"drupal/file_mdm": "^2.1",
"drupal/file_replace": "^1.3",
"drupal/fontawesome": "^2.19",
"drupal/imagemagick": "^3.2",
"drupal/insert": "^3.0@beta",
"drupal/job_scheduler": "^4.0",
"drupal/jquery_ui_slider": "^2.0",
"drupal/jquery_ui_touch_punch": "^1.1",
"drupal/jsonapi_extras": "^3.19",
"drupal/link_target": "^1.3",
"drupal/lottiefiles_field": "^2.0",
"drupal/media_entity_lottie": "^2.1",
"drupal/menu_block": "^1.7",
"drupal/metatag": "^1.16",
"drupal/migrate_manifest": "^3.0",
"drupal/migrate_plus": "^6.0",
"drupal/migrate_tools": "^6.0",
"drupal/migrate_upgrade": "^4.0",
"drupal/onlyone": "^2.0",
"drupal/paragraphs": "^1.12",
"drupal/pathauto": "^1.8",
"drupal/quickedit": "^1.0",
"drupal/rdf": "^2.0",
"drupal/redirect": "^1.6",
"drupal/rest_views": "^3.0",
"drupal/rules": "^3.0@alpha",
"drupal/s3fs": "^3.3",
"drupal/seven": "^1.0",
"drupal/smtp": "^1.0",
"drupal/sophron": "^1.1",
"drupal/svg_image": "^3.0",
"drupal/tablefield": "^2.2",
"drupal/token": "^1.9",
"drupal/typed_data": "^1.0@alpha",
"drupal/unique_entity_title": "^1.3",
"drupal/unique_field_ajax": "^2.0",
"drupal/upgrade_status": "^4.0",
"drupal/vbo_export": "^4.1",
"drupal/video_embed_field": "^2.4",
"drupal/views_bulk_operations": "^4.2",
"drupal/views_data_export": "^1.0",
"drupal/webform": "^6.0",
"drupal/xmlrpc": "^1.0@beta",
"drupal/xmlsitemap": "^1.0",
"drush/drush": "^12",
"enyo/dropzone": "^5.7",
"harvesthq/chosen": "^1.8.7",
"mglaman/composer-drupal-lenient": "^1.0",
"npm-asset/nouislider": "^14",
"pantheon-systems/drupal-integrations": "^10.0"
},
"conflict": {
"drupal/drupal": "*"
},
"minimum-stability": "dev",
"prefer-stable": true,
"extra": {
"enable-patching": true,
"drupal-lenient": {
"allowed-list": ["drupal/csv_serialization"]
},
"patches": {
"drupal/csv_serialization": {
"CsvEncoder": "
https://www.drupal.org/files/issues/2024-03-05/csv_serialization-3344110... →
"
},
"drupal/core": {
"Paragraph image upload issue": "
https://www.drupal.org/files/issues/2023-04-11/3052608-22.patch →
",
"Entity updates issue": "
https://www.drupal.org/files/issues/2023-01-16/2563515-57.patch →
",
"node plugin issue": "
https://www.drupal.org/files/issues/2024-06-25/entity_bundle%3Anode-plug... →
"
},
"drupal/business_rules": {
"Depedent Field not populating": "
https://www.drupal.org/files/issues/2024-04-25/dependent-field-issue-344... →
",
"Fix breadcrumb issue": "
https://www.drupal.org/files/issues/2025-01-08/business_rules-BusinessRu... →
"
}
},
"installer-types": [
"npm-asset",
"bower-asset"
],
"installer-paths": {
"web/core": [
"type:drupal-core"
],
"web/libraries/{$name}": [
"type:drupal-library",
"vendor:npm-asset",
"vendor:bower-asset"
],
"web/modules/composer/{$name}": [
"type:drupal-module"
],
"web/profiles/composer/{$name}": [
"type:drupal-profile"
],
"web/themes/composer/{$name}": [
"type:drupal-theme"
],
"drush/Commands/contrib/{$name}": [
"type:drupal-drush"
],
"web/private/scripts/quicksilver/{$name}/": [
"type:quicksilver-script"
]
},
"composer-exit-on-patch-failure": true,
"patchLevel": {
"drupal/core": "-p2"
},
"drupal-scaffold": {
"allowed-packages": [
"pantheon-systems/drupal-integrations"
],
"locations": {
"web-root": "./web"
},
"file-mapping": {
"[project-root]/.editorconfig": false,
"[project-root]/pantheon.upstream.yml": false,
"[project-root]/.gitattributes": false,
"[web-root]/robots.txt": "assets/robots.txt"
}
}
},
"config": {
"preferred-install": "dist",
"sort-packages": true,
"platform": {
"php": "8.1"
},
"allow-plugins": {
"composer/installers": true,
"cweagans/composer-patches": true,
"drupal/core-composer-scaffold": true,
"zaporylie/composer-drupal-optimizations": true,
"oomphinc/composer-installers-extender": true,
"wikimedia/composer-merge-plugin": true,
"mglaman/composer-drupal-lenient": true,
"drupal/core-project-message": true
}
},
"require-dev": {
"palantirnet/drupal-rector": "^0.20.1"
}
}
Any help would be appreciated. Thanks!