Notice: Use of undefined constant data - assumed 'data' in eloqua_webform_form_alter() (line 282 of /xxxxxxx/sites/all/modules/eloqua/eloqua_webform/eloqua_webform.module).

Here: http://www.observepoint.com/contact-us

I'm not able to add the Eloqua field names to the form fields. See screenshot. I seems to me that both issues are related.

eloqua issue

CommentFileSizeAuthor
#6 eloqua_webform.patch655 bytesClint Eagar
eloqua.PNG19.33 KBClint Eagar
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Clint Eagar’s picture

I'm using Webform 7.x-4.0-alpha10, I don't read anywhere in the Eloqua module documentation of a Webform version requirement.

Jacob Swain’s picture

I'm also receiving this error.

jmolinas’s picture

I'm having the same issue

Clint Eagar’s picture

We are willing to bounty-up to get this fixed. William O'Connor (maintainer), are you interested?

Clint Eagar’s picture

Issue summary: View changes

Added a border the image.

Clint Eagar’s picture

Also, notice how the Eloqua fieldset on the form component page is collapsed and is not clickable.

Clint Eagar’s picture

FileSize
655 bytes

Looks like the problem with the error on line 280 is missing single quotes on the array keys. Adding single quotes and error disappears.
(is_object($form_settings['data']) && isset($form_settings['data']->process_every_page)) ? $form_settings['data']->process_every_page : FALSE;

Patch file attached.

Clint Eagar’s picture

Any ideas on the collapsed fieldset issue?

travisc’s picture

the patch doesn't apply cleanly but the code does fix the issue. Maintainer please commit this so users of the module don't have to search the issue queue and apply patches.

travisc’s picture

Issue summary: View changes

Removing exact server path.

drupalninja99’s picture

I will take a look at the patch, thx Clint for looking at this issue.

drupalninja99’s picture

Issue summary: View changes
Status: Active » Fixed

Hi Clint, I have pushed this up to 1x-dev and created a new release - 7.x-1.11

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.