Fatal error "TypeError: array_filter(): Argument #1 ($array) must be of type array, null given."

Created on 5 May 2023, about 1 year ago
Updated 8 May 2024, about 2 months ago

The changes in the parent commit, which creates block hiding option, cause PHP fatal error with Core update 9.5.9 because it expects an array value, however NULL is given.
Looks like the change (git diff) from the merged commit is causing error:

      - $links = [];
      + $links = $config->get('hide_single_link_block') ? NULL : [];

The Core 9.5.9 doesn't accept NULL value anymore.

๐Ÿ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States l-laziz

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

Comments & Activities

Production build 0.69.0 2024