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.

Comments

attheshow created an issue. See original summary.

attheshow’s picture

Status: Active » Needs review
StatusFileSize
new892 bytes
rosemaryreilman’s picture

Assigned: Unassigned » rosemaryreilman

Thanks 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.

rosemaryreilman’s picture

Status: Needs review » Fixed

patch has been rolled into 3.1.3

rosemaryreilman’s picture

Status: Fixed » Closed (fixed)