Home › Forums › Backend Issues (wp-admin) › Update ACF Post Object with wp cli not working › Reply To: Update ACF Post Object with wp cli not working
2 things to check for.
A post object field that only allows one selection is not stored as an array in the DB.
If the post object field allows multiple then it is stored as an array but all of the IDs in the array are stored as strings and not integers.
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.