The page you mention is only shown when ACF gets some unexpected response from the AJAX request. This is usually caused by some type of error, but any unexpected output will cause it. It can be very hard to track it down. My suggestion would be to back up to where it’s working correctly and then add 1 thing/line at a time to see what line causes the issue and then figure out what’s wrong with it.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users