template_preprocess_item_list

Created on 29 August 2025, about 1 month ago

Problem

With latest 11.x dev the module crashes when adding a node:

InvalidArgumentException: "attributes" is an invalid render array key. Value should be an array but got a object. in Drupal\Core\Render\Element::children() (line 97 of core/lib/Drupal/Core/Render/Element.php).

Drupal\Core\Theme\ThemePreprocess->preprocessItemList() (Line: 622)
template_preprocess_item_list() (Line: 56)
responsive_preview_preprocess_item_list__responsive_preview() (Line: 374)
Drupal\Core\Extension\ModuleHandler->invoke() (Line: 306)
Drupal\Core\Theme\ThemeManager->Drupal\Core\Theme\{closure}() (Line: 335)
Drupal\Core\Theme\ThemeManager->render() (Line: 499)
Drupal\Core\Render\Renderer->doRender() (Line: 512)
Drupal\Core\Render\Renderer->doRender() (Line: 512)
Drupal\Core\Render\Renderer->doRender() (Line: 229)
Drupal\Core\Render\Renderer->render() (Line: 41)
template_preprocess_toolbar()

Steps to reproduce

- Enable module, enable toolbar module, install vanilla 11.x-dev standard profile
- Add an article

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇦🇹Austria fago Vienna

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

Comments & Activities

Production build 0.71.5 2024