PHP 8.2 Compatibility

Created on 26 January 2023, almost 2 years ago
Updated 1 February 2023, almost 2 years ago

Problem/Motivation

Error message
Deprecated function: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in check_plain() (line 1908 of /var/www/html/public/includes/bootstrap.inc).

Traced to originating from here
panels/plugins/display_renderers/panels_renderer_standard.class.php:447

Steps to reproduce

Enable panels, create a new panels page

Proposed resolution

Check or cast string before check_plain()

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇨🇦Canada joelpittet Vancouver

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.

  • PHP 8.2

    The issue particularly affects sites running on PHP version 8.2.0 or later.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024