PHP 8.0 compatibility. Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array

Created on 29 June 2022, about 2 years ago
Updated 15 August 2022, almost 2 years ago

Problem/Motivation

When switching to PHP8 there can be fatal error "Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array" in custom_breadcrumbs_identifiers_cb_identifier_values in
custom_breadcrumbs_identifiers/custom_breadcrumbs_identifiers.module in line 109

πŸ› Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡·πŸ‡ΊRussia Dmitrii_Zadorozhnyi

Live updates comments and jobs are added and updated live.
  • PHP 8.0

    The issue particularly affects sites running on PHP version 8.0.0 or later.

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.69.0 2024