Hello,
Thanks for the feedback!
This issue may happen if you edit the $field or $layout variables inside your layouts templates.
Few variables are set as global within the Flexible Content so they are available in Layouts PHP Templates: $layout, $field and $is_preview.
Since these variables are global, it means that if you edit them, the changes will propagate to the rest of the code. Looking at your error report, this is probably what happen as the $layout array has been modified and becomes default in your case, here:
_acfe_flexible_render_layout_template_after(Array, 'default', false)
^
$layout here should be an array
While it looks like is new a new issue, it was in fact already present in the previous 0.9.0.9 version. The $layout array is used by the following hooks and their variations (see documentation):
action('acfe/flexible/render/before_template', $field, $layout, $is_preview);
action('acfe/flexible/render/after_template', $field, $layout, $is_preview);
In the previous version, if you didn’t use these hooks you probably didn’t notice the $layout became default, so it was imperceivable. But in the latest 0.9.1 patch, these hooks are now used internally by ACF Extended itself to perform additional operations, and it requires to have the correct $layout array. This is why it nows throws an error.
I would recommend to check your layouts PHP templates, and make sure you don’t change the $field or $layout variables.
If you need to, please use another variable name, like $layout_name for example, to make sure $layout is intact.
Note: Please don’t use any other quickfix you found such as acf_update_loop(), these won’t fix anything and potentially break stuff. Simply update your code with the information I provided above.
Hope it helps!
Have a nice day!
Regards.