Just updated to 4.2.1 and all of my Relationships got deleted. Rolled back and everything is fine.
I just created a fresh environment with ACF 4.2.0, created a relatinoship field, saved some values, updated to 4.2.1, updated the post again, and all is fine.
Is there any chance that there is something that is unique to your installs?
Error during save?
Custom filter / action on the relationship field?
@elliot Thanks for your help!
*I’m not using any hooks or filters that would affect ACF.
*Debug mode is currently off
*It wasn’t an error during save. I just updated to 4.2.1 and then went through the site to see if anything broke and noticed that all the relationship values were gone.
Other potentially unusual things:
*The Relationship is a custom post type to another custom post type (Projects have many Wood Species, Door Styles, and Finishes). I believe everything still existed post-update, it was just the relationships that disappeared.
The topic ‘4.2.1 Update Deletes All Relationship Values’ is closed to new replies.
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!
Big news today folks! I'm very excited to announce that the Delicious Brains plugins including Advanced Custom Fields and WP Migrate are now part of the WP Engine family of products.🎉 Check out the full blog post for the details: https://t.co/tcMVq42g7d pic.twitter.com/uCF3ZpKXgT— Delicious Brains Inc (@dliciousbrains) June 2, 2022
© 2022 Advanced Custom Fields.