($haystack) must be of type array, null given PHP8 bug

Created on 10 November 2022, about 2 years ago
Updated 4 March 2024, 10 months ago

When attemping to view /admin/config/content/better_field_descriptions the following error is returned

The website encountered an unexpected error. Please try again later.
TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in in_array() (line 95 of modules/composer/better_field_descriptions/src/Form/BetterFieldDescriptionsSettingsForm.php).

This appears to be a PHP 8 compatibility issue

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇺🇸United States srdtwc Skokie, IL

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