Deprecated function: preg_split(): Passing null to parameter #2 ($subject) of type string is deprecated

Created on 7 May 2024, 8 months ago

Problem/Motivation

A Depecated function error is thrown for the file WebFormHtmlEditor.php

Deprecated function: preg_split(): Passing null to parameter #2 ($subject) of type string is deprecated in Drupal\webform\Element\WebformHtmlEditor::getAllowedTags() (line 203 of modules/contrib/webform/src/Element/WebformHtmlEditor.php).

Steps to reproduce

Go to the webform and try and add content using the gutenberg editor

Proposed resolution

To fix the issue you need to create a patch on line 203

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ› Bug report
Status

Active

Version

6.2

Component

Code

Created by

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