Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Using latest dev panels, layout_plugin, page_manager. We are using an install profile that creates panels, etc from configuration. This is the error I started getting when we switched from a standard panels layout to a custom one:
Unexpected error during import with operation create for page_manager.page_variant.site_search-panels_variant-0: The [error]
"vtusa-onecol" plugin does not exist.
When I log in though it looks like it's set correctly but the layout isn't actually being used. It looks like it reverts to the default panels 1 col layout.
Comments
Comment #2
drupalninja99 CreditAttribution: drupalninja99 commentedActually looking at it now it looks like the right layout is rendering so the install error might be a chicken/egg problem that I guess works itself out. Would be great to fix it from reporting that error.
Comment #3
dsnopekI don't think this problem is in Layout Plugin. Layout Plugin only provides the plugin type and API for discovering what layouts are available and rendering them. It doesn't provide the storage or the UI - that's up to the module using Layout Plugin, for example, Panels or Display Suite.
This sounds like an issue with the storage of the Panels display happening before layout discovery has happened, or something along those lines. Assigning to Panels.
Comment #4
DamienMcKennaPlease test again with the latest core 8.3.x / 8.4.x and Panels 8.x-4.x codebases and let us know if you still see the same problem. Thanks.