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.
I updated webform yesterday to v. 7.x-4.0-rc4 and now am getting a warning that says:
Warning: Invalid argument supplied for foreach() in _webform_select_replace_tokens() (line 898....)
Any ideas what the issue is and how it can be corrected?
Thanks!
Comments
Comment #1
haydeniv CreditAttribution: haydeniv commentedPlease include the entire error message instead of just .... so we can see the file that the warning is being thrown from.
Thanks.
Comment #2
penone CreditAttribution: penone commentedSorry about that.
The file is select.inc BUT I believe I fixed my problem.
What I did was uncheck the " Allow "Other..." option ", saved the form and then Viewed the form. I then went back to the Select Options component and checked the " Allow "Other..." option " box on, saved the form and then viewed the form and no more warning message.
Comment #3
legolasbo