PHP 7.4 warnings with disabled Comment module

Created on 19 June 2020, almost 5 years ago
Updated 17 January 2023, over 2 years ago

If I disable the Comment module, I get multiple PHP 7.4 warnings at line 123 and several others in field_views_field_default_views_data():

Trying to access array offset on value of type null in field_views_field_default_views_data()

This happens when I rebuild the cache, for example. From a quick look, entity_get_info('comment') returns NULL if the Comment module is disabled.

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

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.

No activities found.

Production build 0.71.5 2024