Home › Forums › Add-ons › Flexible Content Field › Latest version: critical endless loop crashes sites › Reply To: Latest version: critical endless loop crashes sites
Thanks again for all your great help with fixing this bug. I just wanted to let you know I have tracked the bug to a conditional statement in the have_rows function.
Basically, the logic got confused due to multiple posts and multiple repeater levels!
Good news is the fix was very simple and you can find it on github!
If you wish to apply the fix manually, please edit the ‘core/api.php’ file on line 405 and change:
if( $prev && $prev['name'] == $field_name )
if( $prev && $prev['name'] == $field_name && $prev['post_id'] == $post_id )
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!