Using the default layouts in a distribution or install profile results in a missing plugin ID:

The "bootstrap_layout_builder:blb_col_1" plugin does not exist. Valid plugin IDs for Drupal\Core\Layout\LayoutPluginManager are: layout_bt_onecol, layout_twocol_section, layout_threecol_section, layout_fourcol_section, layout_onecol, layout_twocol, layout_twocol_bricks, layout_threecol_25_50_25, layout_threecol_33_34_33, layout_builder_blank

The occurs when installing a site from config drush site:install --existing-config

This was already an issue in 1.x version, but is now present on 2.x (I am using 2.x with bootstrap style v1.0.3)
#3157754: Missing plugin (does not exist) error

Comments

extect created an issue. See original summary.

extect’s picture

Issue summary: View changes
mkindred’s picture

I'm having what I believe is the same issue during a D7 -> D9 migration. I'm developing a new theme in Radix 4 on the D9 site, and despite enabling bootstrap_layout_builder and bootstrap_styles, I can't import the display config (e.g. core.entity_view_display.node.product.default.yml) because of the following error:

The import failed due to the following reasons:
Unexpected error during import with operation create for core.entity_view_display.node.product.default: The "bootstrap_layout_builder:blb_col_3" plugin does not exist. Valid plugin IDs for Drupal\Core\Layout\LayoutPluginManager are: layout_twocol_section, layout_threecol_section, layout_fourcol_section, layout_onecol, layout_twocol, layout_twocol_bricks, layout_threecol_25_50_25, layout_threecol_33_34_33, layout_builder_blank

ETA: It seems that I was wrong. Despite triple-checking before posting here, it seems I was just a cache clear away from getting it to import from config properly.

ostry.sn’s picture

I face same issues. Do you have finally a solution?

kartagis’s picture

I also have the issue and the site is unusable now.

kartagis’s picture

What's even funnier is, the error goes away once you disable and reenable the module.

mkindred’s picture

@Katargis I'm glad you bumped this issue, because I had forgotten that I posted here. I'm now running into a similar error message from a different angle.

  1. migrated successfully from D7 to D9 using minimal install profile (after running into the issue I mentioned in #3)
  2. media module has no default media types (normal for a minimal install profile)
  3. cannot create a media type without a fatal error Error: Call to a member function getConfigDependencyName() on null in Drupal\Core\Entity\EntityDisplayBase->calculateDependencies() (line 289 of core/lib/Drupal/Core/Entity/EntityDisplayBase.php).
  4. I wanted to uninstall and re-install the media module to see if that fixed my issue creating a media type, but cannot uninstall media without uninstalling bootstrap_styles and bootstrap_layout_builder
  5. cannot uninstall bootstrap_styles because of the errors very similar to the one in the original post here:
The "bootstrap_layout_builder:blb_col_1" plugin does not exist. Valid plugin IDs for Drupal\Core\Layout\LayoutPluginManager are: layout_twocol_section, layout_threecol_section, layout_fourcol_section, layout_onecol, layout_twocol,
layout_twocol_bricks, layout_threecol_25_50_25, layout_threecol_33_34_33, layout_builder_blank