Form Submission Fails Due to Use of array_key_exists() on Object

Created on 13 December 2024, 7 months ago

Problem/Motivation

After installing the 7.x-1.15 security update, webforms with Eloqua enabled return the generic response "The website encountered an unexpected error" rather than displaying the proper, specified confirmation page.

Steps to reproduce

  1. Install the 7.x-1.15 update
  2. Enable Eloqua for a webform
  3. Submit the webform

Proposed resolution

DBlog revealed the issue as array_key_exists(): Using array_key_exists() on objects is deprecated. The resolution is to use property_exists() instead of array_key_exists() in /eloqua/eloqua_webform/eloqua_webform.cron.inc

Remaining tasks

The fix has been tested locally. An official patch needs to be created.

🐛 Bug report
Status

Active

Version

1.15

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024