I know this might sound insane, but I am now on the 3rd repeat occurrence of this bizarre situation.
I have a site where I make an options page repeater which is just an image. I add 5 images to the repeater and save.
In my template I then grab those images, shuffle the array and output the first one (so essentially a random image).
This works perfectly …I test the code, implement it, works, …push live, works, test in mobiles etc. works …done. Then …I wake up the next morning and suddenly when this was giving me a full array of images earlier:
I have done this three times …the only way to fix this is to delete the repeater field and make a new one with a completely different name …which will then work for the next 12-24 hours.
I raised a ticket with this but have had no response …I Wonder if anyone else has had the same issue as this has now made me look very bad to a client and them to their public after we rolled out the code to the live site which then the next morning started showing errors 🙁
WP and ACF all at latest versions.
Viewing 1 post (of 1 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