Home › Forums › General Issues › Update posts after altering checkbox option › Reply To: Update posts after altering checkbox option
Hi John,
Thanks very much for your reponse.
Regarding #2, I updated the field definition by editing the field, that should be okay correct? Or does it need to be updated elsewhere?
Regarding #1, the serialized string is identical in both cases where I manually replaced via mysql, and in a post that was saved directly.
If you simply run var_dump(unserialize('a:1:{i:0;s:8:"Charcoal";}'));
you get the expected output:
array(1) {
[0]=>
string(8) "Charcoal"
}
So I’m just confused why updating the post_meta to something that’s identical as editing an item and saving it would produce different results unless I’m missing where this link is actually made in the db. I dumped the entire db, and searching for the term I only see it in post_meta so I can’t imagine it lingers elsewhere?
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.