Closed (fixed)
Project:
Form Builder
Version:
6.x-1.0
Component:
Webform Itegration
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Mar 2012 at 00:44 UTC
Updated:
26 Sep 2012 at 22:29 UTC
Jump to comment: Most recent file
Comments
Comment #1
quicksketchDid you make sure you were also running the latest version of Webform? Both modules should be updated at the same time. On which pages do you see this error (i.e. editing a webform, viewing, submitting, etc.)?
Comment #2
efarg commentedWe installed:
The error appears in the edit mode of the fields, see snapshot in the attachment.
(We installed the applications to the test also in a "fresh" Drupalwebsite; the error also appears in this.)
Comment #3
atilla commentedI get the same error.
BTW great module, but needs to get stable.
Comment #4
rrpg commentedI get the same error on D7.12. I entered a few fields then after saving recieved the following error:
•Warning: Invalid argument supplied for foreach() in form_builder_webform_form_builder_load() (line 283 of /var/www/clients/client3/web1/web/sites/all/modules/form_builder/modules/webform/form_builder_webform.module).
•Warning: Invalid argument supplied for foreach() in form_builder_webform_form_builder_load() (line 283 of /var/www/clients/client3/web1/web/sites/all/modules/form_builder/modules/webform/fo
Any thoughts?
Comment #5
quicksketchThere is a similar but different issue over in #1479330: Invalid argument supplied for foreach() in element_children() when Hidden components are used. I haven't been able to reproduce this particular error. Steps to cause the problem from a fresh install would be appreciated.
Comment #6
monsoon commentedSame error here for D7.
I installed fresh D7 core and enabled modules one by one based on dependency, and tried to be careful.
When tried to create WebForm in add content section. I got similar error.
Please see attachment.
Warning: Invalid argument supplied for foreach() in form_builder_webform_form_builder_load() (line 283 of /home/polisp/public_html/sites/all/modules/form_builder/modules/webform/form_builder_webform.module).
Warning: Invalid argument supplied for foreach() in form_builder_webform_form_builder_load() (line 283 of /home/polisp/public_html/sites/all/modules/form_builder/modules/webform/form_builder_webform.module).
Comment #7
quicksketchIt looks like you're using Webform Alternate UI, which is where this problem is coming from. The normal Form Builder Webform Integration does not need this module, and it wouldn't cause this error upon content creation.
Comment #8
SebCorbin commentedSee if #1553108: Invalid argument supplied for foreach() in form_builder_webform_form_builder_load() with unknown types patch solves your problem folks :)
Comment #9
quicksketchClosing. Seems like this is split between the issue @SebCorbin mentioned (which is fixed) and using Webform Alt UI, which is a separate module.