Error when returning only the value
-
Hello,
I’m using ACF 5.7.7 and I have my color swatch field set to return only the value. This gives anIllegal string offset 'value'
for line 394if (in_array($value['value'], $map_to_transparent)) {
I changed it to check if it was an array first and it solves the issueif (is_array($value) && in_array($value['value'], $map_to_transparent)) {
thanks for the nice plugin
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Error when returning only the value’ is closed to new replies.