Deprecated function error on PHP 8.1

Created on 24 April 2022, over 2 years ago
Updated 5 August 2023, over 1 year ago

Problem/Motivation

Deprecated function: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in Drupal\easy_install\Form\PurgeConfigurationsForm->buildRow() (line 357 of modules/contrib/easy_install/src/Form/PurgeConfigurationsForm.php).

Steps to reproduce

use PHP 8.1

Proposed resolution

str_replace() should not be called with 3rd parameter being null.

🐛 Bug report
Status

Fixed

Version

10.5

Component

Code

Created by

🇭🇺Hungary pasqualle 🇭🇺 Budapest

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