strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated

Created on 2 July 2024, 3 months ago
Updated 26 August 2024, 24 days ago

Problem/Motivation

Deprecated function: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in Drupal\gutenberg\BlockProcessor\LayoutProcessor->processBlock() (line 536 of modules/contrib/gutenberg/src/BlockProcessor/LayoutProcessor.php).

Steps to reproduce

Some blocks seem to lack class attributes. And the current code is not fit to handle that.

Proposed resolution

Patch

πŸ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡«πŸ‡·France lizuka

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024