php 8 compatibility TypeError: count(): Argument #1 ($value) must be of type Countable|array

Created on 2 November 2023, 8 months ago
Updated 16 November 2023, 7 months ago

Another PHP 8 compatibility issue, this issue used to be a warning prior to PHP 8, now it is a full blown error that breaks `/admin/config/search/apachesolr/settings/solr/index` page

The error:
TypeError: count(): Argument #1 ($value) must be of type Countable|array, bool given in apachesolr_search_page_list_blocks() (line 165 of /var/www/html/web/sites/all/modules/apachesolr/apachesolr_search.admin.inc).

๐Ÿ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

๐Ÿ‡ฆ๐Ÿ‡บAustralia jordan.jamous

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

Comments & Activities

Production build 0.69.0 2024