Thanks for the response Elliot. I checked my functions.php file and there was a problem with it. I had this:
add_action('acf/register_fields', 'my_register_fields');
I commented it out and everything seems to work just fine now. I am still not sure why it wasn’t an issue with my local environment, but it was on my live site.