Undefined array background_video warning when placing a block

Created on 6 February 2023, over 1 year ago
Updated 21 March 2023, over 1 year ago

Problem/Motivation

When placing some blocks into the page we are facing AJAX error where the block is not added.
The error is
Undefined array key "background_video" in <b>/var/www/web/modules/contrib/bootstrap_styles/src/Plugin/BootstrapStyles/Style/BackgroundMedia.php

πŸ› Bug report
Status

Needs review

Version

1.1

Component

Code

Created by

πŸ‡§πŸ‡·Brazil carolpettirossi Campinas - SP

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @carolpettirossi
  • πŸ‡ΊπŸ‡¦Ukraine olegrymar

    A patch has been added to fix this issue.

  • Status changed to Needs review over 1 year ago
  • πŸ‡³πŸ‡±Netherlands jandewit6

    Also here I am running into this issue. making it impossible to update layouts as all added sections are 'saved'.
    After applying the patch, still the same issue. Adaptations are saved according to front end, but on re-opening the layout, the newly added sections disappeared.

    After applying the patch, I am getting a OutOfBoundsException: Invalid delta "0" in Drupal\layout_builder\Field\LayoutSectionItemList->getSection() (line 42 of ***/public_html/core/modules/layout_builder/src/SectionListTrait.php).

Production build 0.69.0 2024