We were getting an error when submitting with our webform following along with the tutorial here: https://interactiveknowledge.com/insights/how-use-drupal-constant-contac...
The error involved the single default value that we had set on the webform and a PHP error saying that the submitted value wasn't "countable". It seemed to be expecting an array and we're only allowing our customers to sign up for a single list with this form. I've also written a patch to fix this and will be attaching that in a follow-up comment.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3356416-fix-non-countable-default-webform-value.patch | 892 bytes | attheshow |
Comments
Comment #2
attheshow commentedComment #3
rosemaryreilmanThanks so much for submitting a patch. Sorry it's taking me a bit to get to this. Been a bit swamped at work. But I'll take a look and hopefully merge in when I have a chance.
Comment #5
rosemaryreilmanpatch has been rolled into 3.1.3
Comment #6
rosemaryreilman