Deprecated function: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in

Created on 4 June 2024, 7 months ago
Updated 11 June 2024, 7 months ago

I am currently developing with PHP 8.3 and Drupal 10.

While trying to view the differences between revisions, I am encountering two error messages:

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

2: 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 core/lib/Drupal/Component/Utility/Xss.php).

🐛 Bug report
Status

Postponed: needs info

Version

1.0

Component

Code

Created by

🇹🇷Turkey levendclk istanbul

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

Comments & Activities

  • Issue created by @levendclk
  • Issue was unassigned.
  • Status changed to Postponed: needs info 7 months ago
  • 🇦🇺Australia acbramley

    Can you please post full stack traces of these errors and steps to reproduce from a fresh Drupal installation.

Production build 0.71.5 2024