TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in count() (line 203 of modules/contrib/opigno_dashboard/src/BlockService.php).

Created on 18 June 2024, 5 months ago
Updated 19 June 2024, 5 months ago

Problem/Motivation

Critical error if no blocks are selected in the config to be shown since the code expects a non-empty array (PHP 8.3)

Proposed resolution

Add check for empty array

🐛 Bug report
Status

Needs review

Version

3.1

Component

Code

Created by

🇺🇸United States markie Albuquerque, NM

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