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 (812,845,1989,859,906,923,6433,6445,13918,16504,17216,18481,6446,6447,6448,6460,6461,6462,6664,6665,6666,6668,6669,6670,6684,8054,8055,8056,8057,8058,8059,8060,8061,8062,8063,8064,8065,13923,13924,13925,13926,13927,13928,13929,13930,13931,13932,13933,13934,13935,13936,16534,16535,16536,16537,16538,16539,16540,17231,17232,17233,17234,17235,17236,17237,18509,18510,18511,18512,18513,18514,18515,18516,18517,18518,18519,18520,18521,18522,18523,18524,18525,18526,18527,18528,18529,18530,18531,18532,19010,19011,19012,19013,19014,19015,19016,19243,19244,19245,19246,19247,19248,19249,19250,19251,19252,19253,19254,19255,19256,19257,19260,19261,19262,19263,19264,19265,19266,19267,19268,19269,19270,19271,19272,19273,19274,19300,19301,19302,19303,19304,19305,19306,19307,19308,19309,19310,19311,19312,19313,19314,19407,19408,19409,19410,19411,19412,19413,19414,19415,19416) 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 (607)
) 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