Deprecated function: htmlspecialchars_decode(): Passing null to parameter #1 ($string) of type string is deprecated in views_plugin_style->render_grouping() (line 484 of sites/all/modules/contrib/views/plugins/views_plugin_style.inc)

This error can be because there are circumstances when views_plugin_style::get_field() returns with no value.

Comments

tikaszvince created an issue. See original summary.

joseph.olstad’s picture

Status: Active » Needs review
Issue tags: +PHP 8.2
damienmckenna’s picture

Title: PHP 8.1 compatibility error » htmlspecialchars_decode(): Passing null to parameter #1 ($string) of type string is deprecated
damienmckenna’s picture

damienmckenna’s picture

Status: Needs review » Fixed

This looks fine, thank you. Committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.