Needs work
Project:
Drupal core
Version:
main
Component:
content_moderation.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Aug 2020 at 04:25 UTC
Updated:
24 Mar 2026 at 10:13 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
sam152 commentedHi @gaurav_manerkar, can you add a full stacktrace of the error? That would be really helpful context for diagnosing this.
Thanks!
Comment #3
gaurav_manerkar commentedHello
Attaching stack trace
Comment #4
gaurav_manerkar commentedComment #5
cilefen commented@gaurav_manerkar The output you posted in #3 is the full error, but it is not a stack trace.
Comment #6
sam152 commentedComment #7
larowlanI was unable to reproduce this. If you can provide a full error with backtrace by changing the logging settings to 'full error with backtrace' - please re-open.
Comment #8
mvnovick commentedI just got the same error in Drupal 8.9.11, a week after upgrading from 8.9.6. Rebuilding caches cleared it out. Hopefully, this will not happen often.
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "content_moderation.workflows:node.latest_version_tab" plugin does not exist. Valid plugin IDs for Drupal\Core\Menu\LocalTaskManager are: advban.admin_page, advban.search, advban.delete_all, advban.settings, entity.block.edit_form, block.admin_display, block.admin_display_theme:bartik, block.admin_display_theme:seven, block.admin_display_theme:adminimal_theme, block.admin_display_theme:emerson, entity.block_content.collection, block_content.list_sub, entity.block_content_type.collection, entity.block_content.canonical, entity.block_content.delete_form, entity.block_content_type.edit_form, captcha_settings, captcha_examples, captcha_points.list, config.sync, config.import, config.export, config.export_full, config.import_full, config.export_single, config.import_single, content_moderation.content, content_moderation.moderated_content, dblog.view_logs, dblog.clear_logs, devel.admin_settings, devel.container_info.service, devel.container_info.parameter, diff.general_settings, diff.fields_list, entity.embed_button.collection, embed.settings, entityqueue.entities:entity.block_content.entityqueue, entityqueue.entities:entity.entity_subqueue.entityqueue, entityqueue.entities:entity.feeds_feed.entityqueue, entityqueue.entities:entity.media.entityqueue, entityqueue.entities:entity.node.entityqueue, entityqueue.entities:entity.redirect.entityqueue, entityqueue.entities:entity.shortcut.entityqueue, entityqueue.entities:entity.taxonomy_term.entityqueue, entityqueue.entities:entity.user.entityqueue, entityqueue.entities:entity.webform.entityqueue, entityqueue.entities:entity.webform_submission.entityqueue, entityqueue.entities:entity.menu_link_content.entityqueue, entity.entity_subqueue.canonical, entity.entity_subqueue.delete_form, entity.feeds_feed.canonical, entity.feeds_feed.edit_form, entity.feeds_feed.delete_form, feeds.item_list, entity.feeds_feed_type.edit_form, entity.feeds_feed_type.mapping, feeds.admin, entity.field_storage_config.collection, field_ui.fields:overview_block_content, field_ui.fields:form_display_overview_block_content, field_ui.fields:display_overview_block_content, field_ui.fields:field_edit_block_content, field_ui.fields:field_storage_block_content, field_ui.fields:field_form_display_default_block_content, field_ui.fields:field_display_default_block_content, field_ui.fields:field_display_full_block_content, field_ui.fields:field_display_token_block_content, field_ui.fields:overview_entity_subqueue, field_ui.fields:form_display_overview_entity_subqueue, field_ui.fields:display_overview_entity_subqueue, field_ui.fields:field_edit_entity_subqueue, field_ui.fields:field_storage_entity_subqueue, field_ui.fields:field_form_display_default_entity_subqueue, field_ui.fields:field_display_default_entity_subqueue, field_ui.fields:field_display_token_entity_subqueue, field_ui.fields:overview_feeds_feed, field_ui.fields:form_display_overview_feeds_feed, field_ui.fields:display_overview_feeds_feed, field_ui.fields:field_edit_feeds_feed, field_ui.fields:field_storage_feeds_feed, field_ui.fields:field_form_display_default_feeds_feed, field_ui.fields:field_display_default_feeds_feed, field_ui.fields:overview_media, field_ui.fields:form_display_overview_media, field_ui.fields:display_overview_media, field_ui.fields:field_edit_media, field_ui.fields:field_storage_media, field_ui.fields:field_form_display_default_media, field_ui.fields:field_display_default_media, field_ui.fields:field_form_display_media_library_media, field_ui.fields:field_display_embedded_video_media, field_ui.fields:field_display_full_media, field_ui.fields:field_display_media_library_media, field_ui.fields:field_display_token_media, field_ui.fields:overview_node, field_ui.fields:form_display_overview_node, field_ui.fields:display_overview_node, field_ui.fields:field_edit_node, field_ui.fields:field_storage_node, field_ui.fields:field_form_display_default_node, field_ui.fields:field_display_default_node, field_ui.fields:field_display_full_node, field_ui.fields:field_display_department_sublist_node, field_ui.fields:field_display_diff_node, field_ui.fields:field_display_related_departments_list_node, field_ui.fields:field_display_rss_node, field_ui.fields:field_display_search_index_node, field_ui.fields:field_display_search_result_node, field_ui.fields:field_display_teaser_node, field_ui.fields:field_display_token_node, field_ui.fields:overview_taxonomy_term, field_ui.fields:form_display_overview_taxonomy_term, field_ui.fields:display_overview_taxonomy_term, field_ui.fields:field_edit_taxonomy_term, field_ui.fields:field_storage_taxonomy_term, field_ui.fields:field_form_display_default_taxonomy_term, field_ui.fields:field_display_default_taxonomy_term, field_ui.fields:field_display_full_taxonomy_term, field_ui.fields:field_display_token_taxonomy_term, field_ui.fields:overview_user, field_ui.fields:form_display_overview_user, field_ui.fields:display_overview_user, field_ui.fields:field_edit_user, field_ui.fields:field_storage_user, field_ui.fields:field_form_display_default_user, field_ui.fields:field_display_default_user, field_ui.fields:field_form_display_register_user, field_ui.fields:field_display_compact_user, field_ui.fields:field_display_full_user, field_ui.fields:field_display_token_user, field_ui.fields:overview_paragraph, field_ui.fields:form_display_overview_paragraph, field_ui.fields:display_overview_paragraph, field_ui.fields:field_edit_paragraph, field_ui.fields:field_storage_paragraph, field_ui.fields:field_form_display_default_paragraph, field_ui.fields:field_display_default_paragraph, field_ui.fields:field_display_department_sublist_paragraph, field_ui.fields:field_display_preview_paragraph, entity.entity_view_mode.edit_form, entity.entity_form_mode.edit_form, entity.entity_view_mode.collection, entity.entity_form_mode.collection, entity.filter_format.edit_form_tab, filter.admin_overview, google_analytics.admin_settings_form_tab, google_tag.container_list_tab, google_tag.settings_form_tab, entity.image_style.edit_form, entity.image_style.collection, imce.settings, imce.help, entity.linkit_profile.edit_form, linkit.matchers, linkit.attributes, ludwig.packages, media.tasks:entity.media.canonical, media.tasks:entity.media.edit_form, media.tasks:entity.media.delete_form, entity.media_type.edit_form, entity.media_type.collection, entity.media.collection, media_library.table, media_library.grid, menu_link_attributes.config, entity.menu.edit_form, entity.menu.collection, metatag_defaults, metatag.settings, miniorange_saml.customer_setup, miniorange_saml.idp_setup, miniorange_saml.sp_setup, miniorange_saml.login_options, miniorange_saml.mapping, miniorange_saml.export, miniorange_saml.custom_certificate, miniorange_saml.licensing, entity.node.canonical, entity.node.edit_form, entity.node.delete_form, entity.node.version_history, entity.node_type.edit_form, entity.node_type.collection, pagerer.preset_edit, entity.pagerer_preset.collection, pagerer.url_settings, entity.path_alias.collection, redirect.list, redirect.settings, shortcut.set_switch, entity.shortcut_set.customize_form, entity.shortcut_set.edit_form, entity.shortcut.canonical, simple_sitemap.sitemaps, simple_sitemap.status, simple_sitemap.variants, simple_sitemap.settings, simple_sitemap.inclusion, simple_sitemap.entities, simple_sitemap.custom, spamspan.test, system.rss_feeds_settings_tab, system.site_maintenance_mode_tab, system.site_information_settings_tab, system.themes_page, system.theme_settings, system.theme_settings_global, system.theme_settings_theme:bartik, system.theme_settings_theme:seven, system.theme_settings_theme:adminimal_theme, system.theme_settings_theme:emerson, system.modules_list, system.modules_uninstall, system.admin, system.admin_index, entity.date_format.collection, entity.date_format.edit_form, system.admin_content, system.performance_settings, entity.taxonomy_term.canonical, entity.taxonomy_term.edit_form, entity.taxonomy_vocabulary.overview_form, entity.taxonomy_vocabulary.edit_form, update.status, update.settings, update.report_update, update.module_update, update.theme_update, entity.user_role.edit_form, user.account_settings_tab, user.register, user.pass, user.login, entity.user.canonical, entity.user.edit_form, entity.user.collection, user.admin_permissions, entity.user_role.collection, views_ui.settings_tab, views_ui.settings_basic_tab, views_ui.settings_advanced_tab, views_ui.list_tab, views_ui.reports_fields, entity.view.edit_form, entity.webform.collection, entity.webform_submission.collection, entity.webform_submission.collection_manage, entity.webform_submission.collection_purge, webform.options, webform.config.options, webform.config, webform.config.forms, webform.config.elements, webform.config.submissions, webform.config.handlers, webform.config.variants, webform.config.exporters, webform.config.libraries, webform.config.advanced, webform.addons, webform.help, webform.help.videos, entity.webform.canonical, entity.webform.test_form, entity.webform.results, entity.webform.results_submissions, entity.webform.results_export, entity.webform.results_clear, entity.webform.edit_form, entity.webform.settings, entity.webform.settings_general, entity.webform.settings_form, entity.webform.settings_submissions, entity.webform.settings_confirmation, entity.webform.settings_handlers, entity.webform.settings_assets, entity.webform.settings_access, entity.webform.variants, entity.webform.export, entity.webform.export_form, entity.webform_submission.canonical, entity.webform_submission.html, entity.webform_submission.table, entity.webform_submission.text, entity.webform_submission.yaml, entity.webform_submission.edit_form, entity.webform_submission.edit_form.page, entity.webform_submission.edit_form.all, entity.webform_submission.notes_form, entity.webform_submission.resend_form, entity.webform.user.submission, entity.webform.user.submission.edit, entity.webform.user.submission.duplicate, webform.reports_plugins.elements, webform.reports_plugins.handlers, webform.reports_plugins.variants, webform.reports_plugins.exporters, entity.webform_submission.user, entity.webform.references, entity.node.webform.test_form, entity.node.webform.results, entity.node.webform.results_submissions, entity.node.webform.results_export, entity.node.webform.results_clear, entity.node.webform_submission.canonical, entity.node.webform_submission.html, entity.node.webform_submission.table, entity.node.webform_submission.text, entity.node.webform_submission.yaml, entity.node.webform_submission.edit_form, entity.node.webform_submission.edit_form.page, entity.node.webform_submission.edit_form.all, entity.node.webform_submission.notes_form, entity.node.webform_submission.resend_form, entity.node.webform.user.submission, entity.node.webform.user.submission.edit, entity.node.webform.user.submission.duplicate, entity.webform.edit_manage, entity.webform.source_form, entity.webform_options, entity.webform_options.edit_form, entity.webform_options.source_form, entity.menu_link_content.canonical, pathauto.patterns.form, pathauto.settings.form, pathauto.bulk.update.form, pathauto.admin.delete, views_view:view.files.page_1, entity.paragraphs_type.edit_form, entity.paragraphs_type.collection, tac_lite.administration, tac_lite.user_access, tac_lite.plugins, eu_cookie_compliance.settings_tab, eu_cookie_compliance.settings_tab.categories, devel.toolbar.settings_form in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 53 of /code/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).
Comment #9
emb03 commentedCan confirm getting similar errors on drupal 8.9.13, clearing cache does resolve the issue, but really would like to know the cause. This is affecting more than just one module.
.php-errors v1.2.6 i-03534c2fcef433666.us-east-1c 10.1.0.182 prod 2021-05-07T16:22:46+00:00 web-27517 notice [07-May-2021 12:22:45 America/New_York] Uncaught PHP Exception Drupal\Component\Plugin\Exception\PluginNotFoundException: "The "views_view:view.block_content.page_1" plugin does not exist. Valid plugin IDs for Drupal\Core\Menu\LocalTaskManager are: acquia_contenthub.admin_settings, acquia_contenthub.webhooks_settings, acquia_contenthub.entity_config, acquia_contenthub.export_queue, acquia_contenthub.import_queue, acquia_contenthub.re_export, acquia_contenthub_subscriber.contenthub_filter, acquia_contenthub_subscriber.discovery, acquia_lift.admin_settings_form, action.admin, auto_entitylabel.config:block_content_type.auto_label_tab, auto_entitylabel.config:comment_type.auto_label_tab, auto_entitylabel.config:commerce_order_item_type.auto_label_tab, auto_entitylabel.config:commerce_order_type.auto_label_tab, auto_entitylabel.config:commerce_product_attribute.auto_label_tab, auto_entitylabel.config:commerce_product_type.auto_label_tab, auto_entitylabel.config:commerce_product_variation_type.auto_label_tab, auto_entitylabel.config:commerce_store_type.auto_label_tab, auto_entitylabel.config:contact_form.auto_label_tab, auto_entitylabel.config:entity_queue.auto_label_tab, auto_entitylabel.config:media_bundle.auto_label_tab, auto_entitylabel.config:node_type.auto_label_tab, auto_entitylabel.config:paragraphs_type.auto_label_tab, auto_entitylabel.config:profile_type.auto_label_tab, auto_entitylabel.config:shortcut_set.auto_label_tab, auto_entitylabel.config:taxonomy_vocabulary.auto_label_tab, auto_entitylabel.config:webform.auto_label_tab, auto_entitylabel.config:regions_type.auto_label_tab, entity.block.edit_form, block.admin_display, block.admin_display_theme:bartik, block.admin_display_theme:seven, block.admin_display_theme:charlesriver, block.admin_display_theme:zurb_foundation, entity.block_content.collection, block_content.list_sub, entity.block_content_type.collection, entity.block_content.canonical, entity.block_content.delete_form, entity.block_content_type.edit_form, entity.block_visibility_group.collection, captcha_settings, captcha_examples, captcha_points.list, cloudflare.admin_settings_form, entity.comment.canonical_tab, entity.comment.edit_form_tab, entity.comment.delete_form_tab, comment.admin, comment.admin_new, comment.admin_approval, entity.comment_type.edit_form, entity.commerce_order.collection, entity.commerce_product_variation.collection, config.sync, config.import, config.export, config.export_full, config.import_full, config.export_single, config.import_single, config_ignore.settings, config_translation.local_tasks:config_translation.item.overview.chosen.admin, config_translation.local_tasks:config_translation.item.overview.system.site_maintenance_mode,Comment #10
emb03 commentedComment #11
cilefen commentedIt looks like we are still waiting for a trace.
Comment #12
cilefen commentedActually @emb03 you are reporting a different missing plugin.
This issue is about content moderation and awaits a stack trace.
Comment #13
poindexterous commentedI've got the same issue with a drupal 10 site and I can't quite pin this down- these random WSODs are driving me nuts. This error was logged for a page where there was no "latest version". While we do have moderation and workflows enabled- the particular page where this error was logged did not have an unpublished revision at the time. So I'm not sure why the latest_version_tab plugin was needed for this page in question. Is it possible that this might be ab issue with the local task manager or twig cache? here's a call stack:
Comment #14
poindexterous commentedThis might be related to https://www.drupal.org/project/drupal/issues/3056633, it's a drupal 9 to drupal 10 upgrade issue where "plugin not found" exceptions are triggered, there are various causes so it's more like a megathread for a common symptom that might have numerous causes.
Comment #15
zeeshan_khan commentedIt is reproducible. Not always but it occurs at least once in 24 hours if you do lots of content entries.
Comment #16
zeeshan_khan commentedI have added a check to confirm only check latest_version_tab if its available.
Comment #17
smustgrave commentedWill need an issue summary update and test case.
Comment #18
poindexterous commentedSadly this issue keeps happening even with that patch. Does anyone have some deeper knowledge on the plugin discovery process (I don't have a lot of knowledge in that area)? I wonder if the "plugin not found" part is correct, because the "latest version tab" is NOT supposed to be rendered on the pages we're seeing this error. So why does it expect to find the plugin when attempting to render the local task block? Then there's the permission issue where it's trying to render the local task block with the "latest version tab" to anonymous users, who don't have permission to see it.
Comment #20
alex.bukach commentedWe regularly face the same issue:
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "views_view:view.block_content.page_1" plugin does not exist. Valid plugin IDs for Drupal\Core\Menu\LocalTaskManager are: [long list here including some other views_view:view.... tabs].Trace:
Comment #21
sagesolutions commentedAnother one here running into the same issue. Clearing the cache works each time, but some days this error occurs multiple times, making it annoying.
I'm currently on Drupal 10.4.5
Comment #23
isaacrc commentedWe are experiencing the same issue on Drupal 10.6.2. The problem occurs intermittently, and clearing the cache resolves it temporarily.
Comment #24
ericdsd commentedI encountered the same issue on 10.5.8, and clearing the cache solved it too. But a don't use Content moderation on this site.