Menu local task variable may not be present

Created on 2 May 2024, 7 months ago
Updated 16 May 2024, 6 months ago

Problem/Motivation

When testing the theme with UI Patterns 2 and 📌 [5.1.x] Automatic conversion to SDC & UI Patterns 2.x Needs work

Drupal\Core\Render\Component\Exception\InvalidComponentException: [active] NULL value found, but a boolean or an object is required. This may be because the property is empty instead of having data present. If possible fix the source data, use the |default() twig filter, or update the schema to allow multiple types. in Drupal\Core\Theme\Component\ComponentValidator->validateProps() (line 203 of core/lib/Drupal/Core/Theme/Component/ComponentValidator.php).

Proposed resolution

add is_active|default(false) in presenter template.

🐛 Bug report
Status

Fixed

Version

5.0

Component

Code

Created by

🇫🇷France Grimreaper France 🇫🇷

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024