Access the scheme1 tab on fresh D10 installation gives WSOD

Created on 24 November 2023, about 1 year ago
Updated 4 December 2023, about 1 year ago

Problem/Motivation

Access the scheme1 tab gives WSOD with the error on the log as

TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in count() (line 40 of /var/www/html/web/modules/contrib/tac_lite/src/Form/SchemeForm.php).

Steps to reproduce

Access the scheme1 tab in admin/config/people/tac_lite on a fresh D10 installation, without saving any settings.

Proposed resolution

Fix the empty check on count function.

🐛 Bug report
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

🇮🇳India mukhtarm

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

Comments & Activities

Production build 0.71.5 2024