Home › Forums › Bug Reports › Update user meta with ACF pro throw error when displaying data › Reply To: Update user meta with ACF pro throw error when displaying data
When ACF adds data to the database it adds to entries in meta. The first is the meta key as you are inserting. The second is the ACF field key reference. The meta key for this field name prepended with an underscore "_{$field_name}"
and the value of this is the field key of the field. Whithout this ACF does not know what to do with your field and is why it is not working and why it does work after you edit and update the user that was added.
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.