I am getting this error at the top of a webform (in the civi section):

Warning: Invalid argument supplied for foreach() in wf_crm_admin_form->buildParticipantTab() (line 930 of /home/site1/public_html/sites/all/modules/webform_civicrm/includes/wf_crm_admin_form.inc).

It happens when a contact is added to an event. I have attached a screen capture.

A new part in the form has appeared. No idea where from. I think this might be causing the issue. See attached for for more information.

enter image description here

1 Answer 1


It turned out to be a problem with Custom Data (civicrm/admin/custom/group). A Set of Custom Fields had been created for participants without any fields added. I removed the group and problem is fixed.

  • Ok phew! Glad to see you solved this. Oct 10, 2018 at 15:46
  • The answer was so very helpful to me. Thanks for reporting how you resolved it!
    – EricLB
    Feb 26, 2022 at 17:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.