Drupal plugin does not exits exception

Mon, 21/02/2022 - 21:45
Body

Toll....image.settings ist ein core modul WTF!

> [notice] Update started: system_post_update_sort_all_config > [warning] Undefined array key "class" TypedConfigManager.php:366 > [error] <strong>The "image.settings" plugin does not exist.</strong> Valid plugin IDs for Drupal\Core\TypedData\TypedDataManager are: entity_revision, entity_revision:block, entity_revision:block_content, entity_revision:block_content:basic, entity_revision:block_content:produkt_empfehlungen, entity_revision:block_content_type, entity_revision:body_inject_profile, entity_revision:captcha_point, entity_revision:comment_type, entity_revision:comment, entity_revision:comment:comment, entity_revision:comment:comment_forum, entity_revision:comment:comment_node_article, entity_revision:comment:comment_node_deal, entity_revision:comment:comment_node_frage, entity_revision:comment:comment_node_gallerie, entity_revision:comment:comment_node_kaufberater, entity_revision:comment:comment_node_media_gallery, entity_revision:comment:comment_node_news, entity_revision:comment:comment_node_page, entity_revision:comment:comment_node_panel, entity_revision:comment:comment_node_poll, entity_revision:comment:comment_node_product_review, entity_revision:comment:comment_node_slider_item, entity_revision:comment:comment_node_webform, entity_revision:comment:comment_node_zubehoer, entity_revision:contact_form, entity_revision:contact_message, entity_revision:contact_message:feedback, entity_revision:contact_message:personal, entity_revision:cookies_service_group, entity_revision:cookies_service, entity_revision:custom_breadcrumbs, entity_revision:editor, entity_revision:embed_button, entity_revision:entity_embed_fake_entity, entity_revision:entity_subqueue, entity_revision:entity_subqueue:3_produkt_empfehlung_, entity_revision:entity_subqueue:artikel_leseempfehlungen, entity_revision:entity_subqueue:empfehling_inear, entity_revision:entity_subqueue:empfehlung_bt_fur_tv_smartphon, entity_revision:entity_subqueue:empfehlung_bt_kopfhorer, entity_revision:entity_subqueue:empfehlung_bt_mit_anc, entity_revision:entity_subqueue:empfehlung_funkkopfhorer,ield_item:uri, field_item:email, field_item:changed, field_item:string_long, field_item:timestamp, datetime_iso8601, uri, email, float, language_reference, duration_iso8601, boolean, timespan, timestamp, any, map, string, list, language, binary, integer in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (Zeile 53 in /www/htdocs/w00bbe43/PRODUCT_DISTRI_D9/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php). entity_revision:entity_subqueue:empfehlung_tws, entity_revision:entity_queue, entity_revision:facets_facet_source, entity_revision:facets_facet, entity_revision:facets_summary, entity_revision:field_storage_config, entity_revision:field_config, entity_revision:file, entity_revision:filter_format, entity_revision:flag, entity_revision:flagging, entity_revision:image_style, entity_revision:imageapi_optimize_pipeline, entity_revision:language_content_settings, entity_revision:configurable_language, entity_revision:layout_builder_style, entity_revision:linkit_profile, entity_revision:media_type, entity_revision:media, entity_revision:media:audio, entity_revision:media:document, entity_revision:media:image, entity_revision:media:remote_video, entity_revision:media:video, entity_revision:menu_link_content, entity_revision:menu_link_content:account, entity_revision:menu_link_content:admin, entity_revision:menu_link_content:beliebte-hersteller, entity_revision:menu_link_content:bluetooth-typen-menu, entity_revision:menu_link_content:devel, entity_revision:menu_link_content:empfehlungen-menue, entity_revision:menu_link_content:footer, entity_revision:menu_link_content:funkkopfhoerer-loesungen-submenu, entity_revision:menu_link_content:kaufberatung-funkkopfhoerer, entity_revision:menu_link_content:main, entity_revision:menu_link_content:mega-artikel-submenu, entity_revision:menu_link_content:mega-beliebte-hersteller-bluetoo, entity_revision:menu_link_content:mega-bluetooth-kopfhoerer-submen, entity_revision:menu_link_content:mega-fragen-submenu, entity_revision:menu_link_content:mega-hersteller-submenu, entity_revision:menu_link_content:mega-kaufberatung-submenu, entity_revision:menu_link_content:menu-footer-menu, entity_revision:menu_link_content:menu-sitemap---footer, entity_revision:menu_link_content:menu-weblinks, entity_revision:menu_link_content:tools, entity_revision:metatag_defaults, entity_revision:node, entity_revision:node:article, entity_revision:node:deal, entity_revision:node:frage, entity_revision:node:landingpage_lb, entity_revision:node:news, entity_revision:node:page, entity_revision:node:product_review, entity_revision:node:vs_node, entity_revision:node:webform, entity_revision:node:zubehoer, entity_revision:node_type, entity_revision:path_alias, entity_revision:rdf_mapping, entity_revision:redirect, entity_revision:redirect:redirect, entity_revision:responsive_image_style, entity_revision:rules_reaction_rule, entity_revision:rules_component, entity_revision:search_api_server, entity_revision:search_api_index, entity_revision:search_api_task, entity_revision:search_api_autocomplete_search, entity_revision:shortcut_set, entity_revision:shortcut, entity_revision:shortcut:default, entity_revision:simple_sitemap_engine, entity_revision:action, entity_revision:menu, entity_revision:taxonomy_term, entity_revision:taxonomy_term:bauform_art, entity_revision:taxonomy_term:category, entity_revision:taxonomy_term:hersteller, entity_revision:taxonomy_term:news_tags, entity_revision:taxonomy_term:produkt_tags, entity_revision:taxonomy_term:tags, entity_revision:taxonomy_term:zubeh_r, entity_revision:taxonomy_vocabulary, entity_revision:toc_type, entity_revision:tour, entity_revision:user, entity_revision:user_role, entity_revision:webform, entity_revision:webform_options, entity_revision:webform_submission, entity_revision:webform_submission:contact, entity_revision:webform_submission:kontakt, entity_revision:wysiwyg_template, entity_revision:pathauto_pattern, entity_revision:view, entity_revision:base_field_override, entity_revision:date_format, entity_revision:entity_form_display, entity_revision:entity_view_mode, entity_revision:entity_form_mode, entity_revision:entity_view_display, entity_revision_reference, filter_format, layout_section, metatag, current_date, current_path, site, search_api_text, search_api_html, text, field_item:asin, field_item:comment, field_item:computed_decimal, field_item:computed_integer, field_item:computed_string_long, field_item:computed_string, field_item:computed_float, field_item:datetime, field_item:entity_reference_revisions, field_item:file, field_item:file_uri, field_item:image, field_item:layout_section, field_item:link, field_item:metatag, field_item:metis, field_item:list_string, field_item:list_integer, field_item:list_float, field_item:path, field_item:redirect_source, field_item:starrating, field_item:text, field_item:text_with_summary, field_item:text_long, field_item:webform, field_item:yoast_seo, field_item:uri, field_item:decimal, field_item:uuid, field_item:created, field_item:password, field_item:string_long, field_item:map, field_item:string, field_item:float, field_item:changed, field_item:email, field_item:language, field_item:timestamp, field_item:entity_reference, field_item:boolean, field_item:integer, binary, email, string, datetime_iso8601, float, any, list, duration_iso8601, timestamp, timespan, language, language_reference, map, boolean, uri, integer, entity, entity:block, entity:block_content, entity:block_content:basic, entity:block_content:produkt_empfehlungen, entity:block_content_type, entity:body_inject_profile, entity:captcha_point, entity:comment_type, entity:comment, entity:comment:comment, entity:comment:comment_forum, entity:comment:comment_node_article, entity:comment:comment_node_deal, entity:comment:comment_node_frage, entity:comment:comment_node_gallerie, entity:comment:comment_node_kaufberater, entity:comment:comment_node_media_gallery, entity:comment:comment_node_news, entity:comment:comment_node_page, entity:comment:comment_node_panel, entity:comment:comment_node_poll, entity:comment:comment_node_product_review, entity:comment:comment_node_slider_item, entity:comment:comment_node_webform, entity:comment:comment_node_zubehoer, entity:contact_form, entity:contact_message, entity:contact_message:feedback, entity:contact_message:personal, entity:cookies_service_group, entity:cookies_service, entity:custom_breadcrumbs, entity:editor, entity:embed_button, entity:entity_embed_fake_entity, entity:entity_subqueue, entity:entity_subqueue:3_produkt_empfehlung_, entity:entity_subqueue:artikel_leseempfehlungen, entity:entity_subqueue:empfehling_inear, entity:entity_subqueue:empfehlung_bt_fur_tv_smartphon, entity:entity_subqueue:empfehlung_bt_kopfhorer, entity:entity_subqueue:empfehlung_bt_mit_anc, entity:entity_subqueue:empfehlung_funkkopfhorer, entity:entity_subqueue:empfehlung_tws, entity:entity_queue, entity:facets_facet_source, entity:facets_facet, entity:facets_summary, entity:field_storage_config, entity:field_config, entity:file, entity:filter_format, entity:flag, entity:flagging, entity:image_style, entity:imageapi_optimize_pipeline, entity:language_content_settings, entity:configurable_language, entity:layout_builder_style, entity:linkit_profile, entity:media_type, entity:media, entity:media:audio, entity:media:document, entity:media:image, entity:media:remote_video, entity:media:video, entity:menu_link_content, entity:menu_link_content:account, entity:menu_link_content:admin, entity:menu_link_content:beliebte-hersteller, entity:menu_link_content:bluetooth-typen-menu, entity:menu_link_content:devel, entity:menu_link_content:empfehlungen-menue, entity:menu_link_content:footer, entity:menu_link_content:funkkopfhoerer-loesungen-submenu, entity:menu_link_content:kaufberatung-funkkopfhoerer, entity:menu_link_content:main, entity:menu_link_content:mega-artikel-submenu, entity:menu_link_content:mega-beliebte-hersteller-bluetoo, entity:menu_link_content:mega-bluetooth-kopfhoerer-submen, entity:menu_link_content:mega-fragen-submenu, entity:menu_link_content:mega-hersteller-submenu, entity:menu_link_content:mega-kaufberatung-submenu, entity:menu_link_content:menu-footer-menu, entity:menu_link_content:menu-sitemap---footer, entity:menu_link_content:menu-weblinks, entity:menu_link_content:tools, entity:metatag_defaults, entity:node, entity:node:article, entity:node:deal, entity:node:frage, entity:node:landingpage_lb, entity:node:news, entity:node:page, entity:node:product_review, entity:node:vs_node, entity:node:webform, entity:node:zubehoer, entity:node_type, entity:path_alias, entity:rdf_mapping, entity:redirect, entity:redirect:redirect, entity:responsive_image_style, entity:rules_reaction_rule, entity:rules_component, entity:search_api_server, entity:search_api_index, entity:search_api_task, entity:search_api_autocomplete_search, entity:shortcut_set, entity:shortcut, entity:shortcut:default, entity:simple_sitemap_engine, entity:action, entity:menu, entity:taxonomy_term, entity:taxonomy_term:bauform_art, entity:taxonomy_term:category, entity:taxonomy_term:hersteller, entity:taxonomy_term:news_tags, entity:taxonomy_term:produkt_tags, entity:taxonomy_term:tags, entity:taxonomy_term:zubeh_r, entity:taxonomy_vocabulary, entity:toc_type, entity:tour, entity:user, entity:user_role, entity:webform, entity:webform_options, entity:webform_submission, entity:webform_submission:contact, entity:webform_submission:kontakt, entity:wysiwyg_template, entity:pathauto_pattern, entity:view, entity:base_field_override, entity:date_format, entity:entity_form_display, entity:entity_view_mode, entity:entity_form_mode, entity:entity_view_display, entity_reference > [error] Update failed: system_post_update_sort_all_config

 

ield_item:uri, field_item:email, field_item:changed, field_item:string_long, field_item:timestamp, datetime_iso8601, uri, email, float, language_reference, duration_iso8601, boolean, timespan, timestamp, any, map, string, list, language, binary, integer in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (Zeile 53 in /www/htdocs/0000/PRODUCT_DISTRI_D9/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).

 

 

itok

Ich hatte versucht die itok tokens von den Bildern zu entfernen davor. Kommt das daher?
https://gist.github.com/DanLaufer/2d835722c313e5b9d26f42ff53567718

$config[‘image.settings’][‘suppress_itok_output’] = TRUE;
$config[‘image.settings’][‘allow_insecure_derivatives’] = TRUE;

Der Fehler war, dass ich in der schema datei meines custom moduls image.settings gesetzt hatte. Genau die zwei:

image.settings:
  allow_insecure_derivatives: TRUE
  suppress_itok_output: TRUE
 

 

 

 

Sources

https://mikemadison.net/blog/2020/11/11/the-everything-wrong-scenario-fixing-a-broken-drupal-9-site

https://www.drupal.org/forum/support/upgrading-drupal/2021-02-01/the-image-plugin-does-not-exist | habe ich so

https://www.drupal.org/project/drupal/issues/3250497