Passing null to parameter #2 ($subject) of type string is deprecated

Created on 11 May 2023, almost 2 years ago
Updated 30 August 2023, over 1 year ago

I was warned about deprecated code while submitting the webform.

Deprecated function: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in Drupal\commerce_webform_order\Plugin\WebformHandler\CommerceWebformOrderHandler->Drupal\commerce_webform_order\Plugin\WebformHandler\{closure}() (line 1079 of modules/contrib/commerce_webform_order/src/Plugin/WebformHandler/CommerceWebformOrderHandler.php).

I use PHP 8.1, Drupal 9.5.8, Webform 6.1.4 and Commerce Webform Order 2.0.0-beta2

πŸ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine SmovS Lutsk

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

Comments & Activities

Production build 0.71.5 2024