Home › Forums › ACF PRO › Problem with 'return format' of 'select' field › Reply To: Problem with 'return format' of 'select' field
The reason this happened is because you deleted the field and created it again. This caused the ACF field key reference for any values saved to the field to be incorrect, it points to the old field key that no longer exists. Because of this ACF does not know what to do with the value stored in the database so it returns what is stored without formatting it. The only way to fix this is to update all the field key references, which means that you need to update all posts,
Or you can alter it by doing a query on the DB
UPDATE wp_postmeta SET meta_value = "NEW FIELD KEY" WHERE meta_value = "OLD FIELD KEY"
Please back up your DB before making changes like this.
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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.