explode(): Passing null to parameter #2 ($string) of type string is deprecated

Created on 4 June 2022, over 2 years ago
Updated 17 January 2024, 11 months ago

Problem/Motivation

After updating to PHP 8.1:

Deprecated function: explode(): Passing null to parameter #2 ($string) of type string is deprecated in Drupal\easy_breadcrumb\EasyBreadcrumbBuilder->normalizeText() (line 913 of /app/web/modules/contrib/easy_breadcrumb/src/EasyBreadcrumbBuilder.php)

Steps to reproduce

1. Install the module.
2. Access an admin page while logged in as an admin.

Proposed resolution

Check to make sure the value isn't null.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇯🇵Japan ptmkenny

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

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

Sign in to follow issues

Merge Requests

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