Deprecated function: preg_split() Drupal10

Created on 4 May 2024, 7 months ago
Updated 27 June 2024, 5 months ago

Hello eveyone,
I'm reporting a problem and haven't found a patch yet.

Deprecated function: preg_split(): Passing null to parameter #2 ($subject) of type string is deprecated in Drupal\webform\Plugin\WebformElementBase->prepare() (line 730 of modules\contrib\webform\src\Plugin\WebformElementBase.php).
Deprecated function: preg_split(): Passing null to parameter #2 ($subject) of type string is deprecated in Drupal\webform\Plugin\WebformElementBase->prepare() (line 730 of modules\contrib\webform\src\Plugin\WebformElementBase.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).
Deprecated function: preg_split(): Passing null to parameter #2 ($subject) of type string is deprecated in Drupal\webform\Plugin\WebformElementBase->prepare() (line 730 of modules\contrib\webform\src\Plugin\WebformElementBase.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).
Deprecated function: preg_split(): Passing null to parameter #2 ($subject) of type string is deprecated in Drupal\webform\Plugin\WebformElementBase->prepare() (line 730 of modules\contrib\webform\src\Plugin\WebformElementBase.php).
Deprecated function: preg_split(): Passing null to parameter #2 ($subject) of type string is deprecated in Drupal\webform\Plugin\WebformElementBase->prepare() (line 730 of modules\contrib\webform\src\Plugin\WebformElementBase.php).
Deprecated function: preg_split(): Passing null to parameter #2 ($subject) of type string is deprecated in Drupal\webform\Plugin\WebformElementBase->prepare() (line 730 of modules\contrib\webform\src\Plugin\WebformElementBase.php).
Deprecated function: preg_split(): Passing null to parameter #2 ($subject) of type string is deprecated in Drupal\webform\Plugin\WebformElementBase->prepare() (line 730 of modules\contrib\webform\src\Plugin\WebformElementBase.php).

Thanks

πŸ› Bug report
Status

Closed: outdated

Version

6.2

Component

Code

Created by

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

Comments & Activities

  • Issue created by @alexandre447
  • Status changed to Postponed: needs info 7 months ago
  • For a bug report we need steps to reproduce. If there is a form that causes this deprecation notice, please post the form's yaml.

  • Status changed to Closed: outdated 5 months ago
  • πŸ‡ΊπŸ‡ΈUnited States jrockowitz Brooklyn, NY

    The issue seems to be related to 'element.allowed_tags' is missing from 'webform.settings'.

    Please run `drush webform-repair`

Production build 0.71.5 2024