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

Created on 4 June 2024, 24 days ago
Updated 11 June 2024, 17 days 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

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