UPDATE
Fixed myself. The problem was caused by the modification of the search using in admin using pre_get_posts
. I would consider this a bug with ACF because if you modify pre_get_posts
, ACF should still work.
Anyway, I struggled with this issue for hours. Leaving this comment here for someone else who’s facing similar issues.
Feel free to reply here if you get stuck; hopefully, I’ll respond soon.