Thanks John.
acf_get_field_groups is returning an empty array. If I remove the post_id then all field groups are returned.
Is this documented somewhere? I also saw that some filters changed to functions on v5, but I haven’t found any new documentation.