Home › Forums › Front-end Issues › Query posts by user relationship field › Reply To: Query posts by user relationship field
I just did a test of this and both user and relationship fields are saving string values in quotes in both the usermeta and postmeta table. Do you have any other plugins installed or filters created that could be interfering with or modifying the values of these relationships?
This is actually a function of serializing the data before it is saved, so I’m a little confuse as to what could be causing it. In fact, the second value you posted a:1:{i:0;s:3:777;}
will not unserialize and causes an error.
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.