TypeError: count(): Argument #1 ($value) must be of type Countable|array, int given in count()

Created on 19 March 2025, 20 days ago

Problem/Motivation

When attempting to use the shs module, I encountered a TypeError related to the count() function. The error message indicates that the first argument passed to count() must be of type Countable|array, but an int was given instead.
TypeError: count(): Argument #1 ($value) must be of type Countable|array, int given in count()

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇨🇳China catcat811

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