If you’re worried the acf_add_local_field_group() syntax is wrong, you could instead create the field group inside the WordPress dashboard (Custom Fields > Add New).
and then export it as PHP (Custom Fields > Tools > Select Field Group > Generate PHP).
Don’t forget to remove the field group again once you’ve put it in PHP.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users