- Issue created by @aangel
- πΊπΈUnited States tim bozeman
Heya aangel,
Thanks for the report, but I can't seem to reproduce this error. I refactored a lot of that code in β¨ Switch from SortableJS to drop zones for moving blocks Fixed . Is this still a problem?
- π¨πΏCzech Republic milos.kroulik
I can confirm the issue. Using the latest version of LB+ and Olivero theme, these errors prevent adding a block. In my case, the error messages are:
Warning: Undefined array key "layout_plugin" in Drupal\lb_plus\Controller\DropZones->getSection() (line 386 of /app/web/modules/contrib/lb_plus/src/Controller/DropZones.php)
InvalidArgumentException: Please configure a default layout for this section. in Drupal\lb_plus\Controller\DropZones->placeBlock() (line 185 of /app/web/modules/contrib/lb_plus/src/Controller/DropZones.php).
Please see the attached screencast at https://www.drupal.org/files/issues/2024-02-05/Recording%202024-02-05%20... β
- πΊπΈUnited States tim bozeman
Heya Milos,
I think you need to do step 5 of the β enable LB+ for a content type β β docs to fix the
Please configure a default layout for this section
error. - Status changed to Closed: cannot reproduce
11 months ago 5:17pm 5 February 2024 - π¨πΏCzech Republic milos.kroulik
Oh, you're right, sorry. Perhaps this is solved, then. Thanks.