It looks like, occasionally (not sure exactly how), $entity->$field_name isset and is iteratable, but doesn't actually contain anything. I *suspect* that this has to do with json_deocde, but I'm unsure. This results in us getting an "invalid foreach" error on $values[0] on line 157. It's a fairly easy fix, just need to change isset to !empty
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1664888.invalid-foreach.patch | 785 bytes | phayes |
Comments
Comment #1
phayes commentedPatch is attached.
Comment #2
phayes commentedComment #3
chx commentedThanks, committed.