Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given count(NULL) #1 entity_rules/entity_rules.admin.inc(367)

Created on 8 September 2022, over 2 years ago
Updated 30 September 2024, 3 months ago

Problem/Motivation

After upgrading the php version to 8.0 and navigating to admin/structure/types/manage/hcp-webform/entity-rules the site throws a fatal error and breaks.

Steps to reproduce

1. Use the entity_rules module for your site
2. Chnage the php version to 8.0
3. Navigate to admin/structure/types/manage/hcp-webform/entity-rules

Proposed resolution

I have created a patch for the same. Kindly check it.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

RTBC

Component

Code

Created by

🇮🇳India patelh84

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024