Deprecated function: preg_split(): Passing null to parameter #2 ($subject) of type string is deprecated in Drupal\Component\Transliteration\PhpTransliteration->removeDiacritics() (line 96 of core/lib/Drupal/Component/Transliteration/PhpTransliteration.php

Created on 27 June 2023, over 1 year ago

Problem/Motivation

Deprecation warning being shown on line 96, method removeDiacritics().
File: web/core/lib/Drupal/Component/Transliteration/PhpTransliteration.php

Adding compatibility with PHP 8.1

Proposed resolution

Adding compatibility with PHP 8.1

🐛 Bug report
Status

Needs work

Version

10.0

Component
Transliteration 

Last updated 3 months ago

Created by

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024