IXM Blocks Hero: Deprecated: mb_strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/docroot/core/lib/Drupal/Component/Utility/Html.php on line 225

Created on 25 February 2025, 3 months ago

Problem/Motivation

When trying to render the Hero template using the block_content_template module, a few things are missing from the original block array including the blocks configuration['id'] , a deprecation warning pops up;

Deprecated: mb_strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/docroot/core/lib/Drupal/Component/Utility/Html.php on line 225

Steps to reproduce

Proposed resolution

Wrap the hero_id string then run the clean_id filter on it afterwards.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇨🇦Canada AaronChristian Kelowna, BC

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

Comments & Activities

Production build 0.71.5 2024