Warning: Trying to access array offset on value of type null in Drupal\cmrf_form_processor\FormProcessorBaseHandler->webformSubmissionToApiParams()

Created on 25 September 2024, 2 months ago

Problem/Motivation

During form submissions, the following warning is often logged:

Warning: Trying to access array offset on value of type null in Drupal\cmrf_form_processor\FormProcessorBaseHandler->webformSubmissionToApiParams() (line 252 of /[..]/web/modules/contrib/cmrf_form_processor/src/FormProcessorBaseHandler.php).

Proposed resolution

Add an isset() check.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇧🇪Belgium dieterholvoet Brussels

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