Home › Forums › Add-ons › Flexible Content Field › Latest version: critical endless loop crashes sites › Reply To: Latest version: critical endless loop crashes sites
I tried to track the issue a little. I let the browser spinn 20 min until it stopped. The third content was rendered 200 times…
The third nestled get_sub_field “belives” it has its parents sub_field.
It is called within while(has_sub_field(flexible, $current_id)
so all get_sub_field() “below” this $current_id should be unique, but its not.
if finds a subfield, and when I echo the id within, that post id has no subfield data (but the parent had)
Maybe your fix was not complete:
Im not using a repeater who has a repeater who has a repeater…
my setup is
a repeater has a flexible content field who has a repeater who has a flexible who has a repeater who has a flexible …
Im feeling a little bit sorry for you, I know how it is when you think something might be solved, and you have to brainstorm again…
Thanks for your work
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.