PHP8.1 Deprecation: passing null to html_entity_decode()

Created on 16 August 2023, about 1 year ago
Updated 21 August 2023, about 1 year ago

PHP8.1 Deprecation:

Using restapi to save image files with xmp meta information added to the file content produce the following deprecation warning:
Deprecated function: html_entity_decode(): Passing null to parameter #1 ($string) of type string is deprecated in exif_custom_xml_recursion() (line 656 of modules/contrib/exif_custom/exif_custom.module)

Proposed resolution:

Add additional check in exif_custom_xml_recursion() function.

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024