I made the Repeater Field where you can add content boxes on home page. Repeater Field contains true/false, text, textarea, pagelink, color picker and image fields. When I go to the Pages admin to add couple of content boxes (Repeaters) on my home page and save it, I’ll get this error:
Notice: Array to string conversion in /data/my.awesome.webpage/wp-content/plugins/advanced-custom-fields-pro/pro/fields/repeater.php on line 156
Warning: Invalid argument supplied for foreach() in /data/my.awesome.webpage/wp-content/plugins/advanced-custom-fields-pro/pro/fields/repeater.php on line 255
I’m having the same error with a repeater field on ordinary page. Problem has come now when I have update my WordPress to 4.1 and Advanced Custom Fields PRO 220.127.116.11.
Edit: I had a conditional tag right above the repeater fields and when I removed this, the repeater started working again. That’s a quick fix but far from good if you really want to use the conditional tag or tab before repeater.
Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users