trim(): Passing null to parameter #1 ($string) of type string is deprecated in block_list_override_block_alter()

Created on 17 September 2023, 9 months ago
Updated 9 May 2024, about 2 months ago

Problem/Motivation

trim(): Passing null to parameter #1 ($string) of type string is deprecated in block_list_override_block_alter()

Steps to reproduce

Module version 1.0.2, trying to add Block gives Error: trim(): Passing null to parameter #1 ($string) of type string is deprecated in block_list_override_block_alter()

Proposed resolution

It needs to add check while passing parameter to trim(), if null - pass ''.

πŸ› Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine yugro Lutsk

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

Comments & Activities

Production build 0.69.0 2024