WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')) WHERE 1=1 AND ((hc_posts.post_type = 'hancock_team_member' AND (hc_posts.po' at line 1]
SELECT hc_posts.ID , mbr.to AS `mbr_team_member_to_post_to` FROM hc_posts INNER JOIN hc_mb_relationships AS mbr ON (mbr.from = hc_posts.ID AND mbr.type = 'team_member_to_post' AND mbr.to IN ()) WHERE 1=1 AND ((hc_posts.post_type = 'hancock_team_member' AND (hc_posts.post_status = 'publish' OR hc_posts.post_status = 'acf-disabled'))) GROUP BY `mbr_team_member_to_post_to`, hc_posts.ID ORDER BY mbr.order_to

WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')) WHERE 1=1 AND ((hc_posts.post_type = 'hancock_team_member' AND (hc_posts.po' at line 1]
SELECT hc_posts.* , mbr.to AS `mbr_team_member_to_post_to` FROM hc_posts INNER JOIN hc_mb_relationships AS mbr ON (mbr.from = hc_posts.ID AND mbr.type = 'team_member_to_post' AND mbr.to IN ()) WHERE 1=1 AND ((hc_posts.post_type = 'hancock_team_member' AND (hc_posts.post_status = 'publish' OR hc_posts.post_status = 'acf-disabled'))) GROUP BY `mbr_team_member_to_post_to`, hc_posts.ID ORDER BY mbr.order_to