str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in Drupal\Component\Utility\Xss::filter()

Created on 1 August 2022, about 2 years ago
Updated 29 August 2024, about 1 month ago

Module is worthless on PHP8.1 as it has two deprecated functions.

Deprecated function: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in Drupal\Component\Utility\Xss::filter() (line 69 of /home/sitename/public_html/core/lib/Drupal/Component/Utility/Xss.php).

Deprecated function: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in Drupal\Component\Utility\Unicode::validateUtf8() (line 478 of /home/sitename/public_html/core/lib/Drupal/Component/Utility/Unicode.php).

🐛 Bug report
Status

RTBC

Version

2.0

Component

Code

Created by

🇺🇸United States Christopher Riley

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

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