i created the groups/fields in wp admin and then exported them as PHP code. The ID of every group is 0 when i use the exported code as an include. Everything works as expected when i import them via the UI. My guess is that acf_add_local_field_group
doesn’t import the groups into the DB so there’s no ID.
The 5.0.8 update fixed this issue. Thanks!