Thanks for sharing the code.
Unfortunately, I couldn’t reproduce it on my end. It’s possible that either your server or your theme is the one that caused it. Could you please try to reproduce the issue on one of the WordPress’ stock themes (like Twenty Fifteen) with other plugins deactivated? If it disappears, then you can activate the theme and plugins one by one to see which one causes the issue.
If the issue persists, could you please try it on a new installation? You can also use a different server (you don’t have to buy a new server, just use your local machine) to see if it really a server issue.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
© 2022 Advanced Custom Fields.