Home › Forums › ACF PRO › Relational Post Object No Results Found › Reply To: Relational Post Object No Results Found
Hey,
Alright, so I’m happy to announce I’ve figured out the problem, and embarrassed to say it was all my fault, haha.
In functions.php I had a function set using pre get posts when a user performed a search query, allowing them to only return “movie” post types. I thought this was only affecting the front end, but it was actually affecting the entire site, backend and all. Once, I tweaked that code to basically only pre get posts for front end search queries, everything works as it should.
Stupid mistake on my part. But very happy to have this finally resolved.
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.