Home › Forums › ACF PRO › WP_Query based on a relationship field in a Flexible Content field. › Reply To: WP_Query based on a relationship field in a Flexible Content field.
This is a known issue with the changes in WP. https://make.wordpress.org/core/2017/10/31/changed-behaviour-of-esc_sql-in-wordpress-4-8-3/#comment-33131. I do not know if there is a fix.
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.