Hi all… hoping someone can help with one that’s been bugging me for days now.
I have a basic gallery field but for some reason when I add it to a post it breaks – it worked previously and I can’t see anything that’s changed.
One any post that has the field populated I can’t use any ACF functions, even get_fields() results in a break in the page at that point. No PHP error, no JS errors. If I remove the gallery field everything works again.
I don’t know if you fixed this already or not but I was having the same issue.
I fixed it by adding the post_id to get_fields. I have no idea why this was needed, other than that I was outside the loop, but I’ve never had that issue before when calling a custom field that is specific to a page.