Support

Account

Home Forums Add-ons Flexible Content Field Latest version: critical endless loop crashes sites Reply To: Latest version: critical endless loop crashes sites

  • Hi @intervik

    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:

    from

    
    if( $prev && $prev['name'] == $field_name )
    

    to

    
    if( $prev && $prev['name'] == $field_name && $prev['post_id'] == $post_id )
    

    Thanks again!

    Cheers
    E