If you rename a section you can't 'configure' it again.

Created on 16 April 2023, over 1 year ago
Updated 2 September 2023, about 1 year ago

Problem/Motivation

Using Drupal 10, if you add a new section and rename it (add a custom administrative label) to it, save, leave the page and RETURN LATER to the layout, you won't be able to 'configure' the section anymore. Clicking the 'Configure...' link will not load the edit pane but will rather log these errors,

TypeError: explode(): Argument #2 ($string) must be of type string, array given in explode() (line 65 of /home/public_html/modules/contrib/media_library_form_element/src/Element/MediaLibrary.php).

Warning: Undefined array key 1 in Drupal\Core\Asset\LibraryDependencyResolver->doGetDependencies() (line 67 of /home/public_html/core/lib/Drupal/Core/Asset/LibraryDependencyResolver.php)

🐛 Bug report
Status

Active

Version

2.1

Component

Code

Created by

🇳🇬Nigeria chike Nigeria

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024