and acf_form_head() needs to be called before any HTML is output. This is not the case since the opening <html> tag and open <head> tag must be before this point. You are calling the function on the wp_head action, which happens after the get_header() function is called.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users