Webform error for event registration - Invalid argument supplied for foreach()
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.