I am having a problem adding sub fields to my layouts in flexible content. The problem started today after i uppdated my wordPress to the latest version. When I add a new sub field it get saved as a new field instead of a sub field.
I also get this message in the page where the flexible content should be added:
Warning: count(): Parameter must be an array or an object that implements Countable in /Applications/MAMP/htdocs/Prov/wp-content/plugins/advanced-custom-fields-pro/pro/fields/class-acf-field-clone.php on line 130