Home › Forums › Bug Reports › Post Object autocomplete field not finding posts it should be › Reply To: Post Object autocomplete field not finding posts it should be
The problem is exactly what you suspect, the query to search the posts is timing out. ACF uses WP_Query() to search the posts. When searching WP_Query() does a “LIKE” search on the words entered on both the content and the title of the posts.
This can be exacerbated if you have any plugins installed or code that modify the searches in any way and can be even worse if this code is trying to also include custom fields in the search.
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.