TransWikia.com

Invalid Argument WebForm

CiviCRM Asked by Kevin Davis on August 30, 2021

I’m getting two error messages:

Warning: Invalid argument supplied for foreach() in wf_crm_get_fields() (line 910 of /home3/site/public_html/sites/all/modules/webform_civicrm/includes/utils.inc).

Notice: Undefined index: caseRoles in wf_crm_get_fields() (line 910 of /home3/site/public_html/sites/all/modules/webform_civicrm/includes/utils.inc).

when I try to enter information on Drupal 7 using a webform.

What could be causing this issue? Is there a way that I can work around this issue?

Thanks!

One Answer

Please see -> What is the recommended/supported version of Webform CiviCRM module for Drupal 7?

First step would be to move to the supported version for D7WFC -> 7.x-5.x

Your error message tells me you're on 7.x-4.x https://github.com/colemanw/webform_civicrm/blob/7.x-4.x/includes/utils.inc#L910

Correct answer by KarinG - Semper IT on August 30, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP