TypeError if no slots are defined in component

Created on 23 May 2024, about 1 month ago
Updated 3 June 2024, 22 days ago

Problem/Motivation

My component doesn't have a slot defined, and inside the view() method of `Drupal\sdc_styleguide\Controller\StyleGuideController`, it doesn't check for a value.

TypeError: array_map(): Argument #2 ($array) must be of type array, null given in array_map() (line 168 of modules/contrib/sdc_styleguide/src/Controller/StyleGuideController.php).

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States k_a_l

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

Comments & Activities

Production build 0.69.0 2024