Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#6 | eloqua_webform.patch | 655 bytes | Clint Eagar |
eloqua.PNG | 19.33 KB | Clint Eagar |
Comments
Comment #1
Clint Eagar CreditAttribution: Clint Eagar commentedI'm using Webform 7.x-4.0-alpha10, I don't read anywhere in the Eloqua module documentation of a Webform version requirement.
Comment #2
Jacob Swain CreditAttribution: Jacob Swain commentedI'm also receiving this error.
Comment #3
jmolinas CreditAttribution: jmolinas commentedI'm having the same issue
Comment #4
Clint Eagar CreditAttribution: Clint Eagar commentedWe are willing to bounty-up to get this fixed. William O'Connor (maintainer), are you interested?
Comment #4.0
Clint Eagar CreditAttribution: Clint Eagar commentedAdded a border the image.
Comment #5
Clint Eagar CreditAttribution: Clint Eagar commentedAlso, notice how the Eloqua fieldset on the form component page is collapsed and is not clickable.
Comment #6
Clint Eagar CreditAttribution: Clint Eagar commentedLooks 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.
Comment #7
Clint Eagar CreditAttribution: Clint Eagar commentedAny ideas on the collapsed fieldset issue?
Comment #8
travisc CreditAttribution: travisc commentedthe 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.
Comment #8.0
travisc CreditAttribution: travisc commentedRemoving exact server path.
Comment #9
drupalninja99 CreditAttribution: drupalninja99 commentedI will take a look at the patch, thx Clint for looking at this issue.
Comment #10
drupalninja99 CreditAttribution: drupalninja99 commentedHi Clint, I have pushed this up to 1x-dev and created a new release - 7.x-1.11