Home › Forums › General Issues › Relationship Field Not Saving › Reply To: Relationship Field Not Saving
Are you saying that you should be getting an array of post objects and that you’re getting an array of post IDs?
If this is the case, the most common cause of ACF returning ID values rather that posts, attachments, and other objects is a pre_get_post filter that is filtering queries that it shouldn’t be.
Deactivate other plugins, switch themes and see if you can narrow down the cause. I can tell you that I am not experiencing this on any of the sites I maintain and I’m not having this issue on my current project.
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!
🗓️ Just one more day until the next session of ACF Chat Fridays! Make sure to register for the latest updates on what’s coming in ACF 6.1!— Advanced Custom Fields (@wp_acf) March 30, 2023
📆 Friday 31st March 3pm UTC
👉 Register here - https://t.co/3UtvQbDwNm pic.twitter.com/7xtEJakeQN
© 2023 Advanced Custom Fields.