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 ')
GROUP BY wp_posts.ID
ORDER BY wp_posts.menu_order ASC, wp_posts...' at line 11]SELECT SQL_CALC_FOUND_ROWS wp_posts.ID
FROM wp_posts LEFT JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id)
WHERE 1=1 AND wp_posts.ID IN (813,846,864,865,1369,6552,13937,17246,18373,6569,6570,6571,8066,8067,8068,8069,8070,8071,13938,13939,13940,13941,13942,13943,13944,13945,13946,13947,13948,13949,17652,17653,17654,17655,17656,17657,17658,18424,18425,18426,18427,18428,18429,18430,18431,18432,18433,18434,18435,18436,18437,18438,18439,18440,18441,19017,19018,19019,19020,19021,19022,19325,19326,19327,19328,19329,19330,19331,19332,19333,19334,19335,19336,19337,19338,19339,19340,19341,19342,19343,19344,19345,19346,19347,19348,19349,19350,19351,19352,19353,19354,19360,19361,19362,19363,19364,19365,19366,19367,19368,19369,19370,19371,19372,19373,19374,19387,19388,19389,19390,19391,19397,19398,19399,19400,19401) AND (
wp_posts.ID NOT IN (
SELECT object_id
FROM wp_term_relationships
WHERE term_taxonomy_id IN (8)
)
AND
wp_term_relationships.term_taxonomy_id IN (644)
) AND ((wp_posts.post_type = 'product' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'acf-disabled'))) AND `post_type`='product' AND `ID` IN ()
GROUP BY wp_posts.ID
ORDER BY wp_posts.menu_order ASC, wp_posts.post_title ASC
LIMIT 0, 60