Deprecated function: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in Drupal\Component\Utility\Html::escape()

Created on 8 July 2022, almost 2 years ago
Updated 8 June 2023, about 1 year ago

Problem/Motivation

The reference form throws deprecation warnings when creating a new reference.

Steps to reproduce

Proposed resolution

Make sure to pass strings and not NULL to t() variables when building the page title.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands Eric_A

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