htmlspecialchars(): Passing null to parameter #1

Created on 2 June 2022, almost 3 years ago
Updated 16 February 2023, about 2 years ago

Problem/Motivation

With PHP 8.1.4 following issue :

Steps:
1.Go to Structure > Taxonomy
2. Add new vocabulary

Following warning appears :

Deprecated function: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in Drupal\Component\Utility\Html::escape() (line 424 of core/lib/Drupal/Component/Utility/Html.php).

I installed Devel module and based on tracking it was determined that issue is caused by this module.
Referenced to : https://www.drupal.org/project/drupal/issues/3283755#comment-14545059 β†’

Anyone can help to fix?

πŸ› Bug report
Status

Fixed

Version

1.2

Component

Code

Created by

πŸ‡ΈπŸ‡°Slovakia coaston

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