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 (482,484,489,490,726,739,4272,4342,4347,4357,17497,12733,713,12764,12814,12864,14063,15007,15387,17035,6009,6010,6011,6013,6014,6015,6016,6017,6018,6019,6020,6021,6022,6023,6024,6025,6026,6027,6028,6029,6036,6037,6040,6041,6042,6044,6045,6046,6047,6048,6049,6050,6051,6052,7734,7735,7736,7737,7738,7739,7740,7741,7742,7743,7744,7745,7746,7747,7748,7749,7750,12765,12766,12767,12768,12769,12770,12771,12772,12773,12774,12775,12776,12818,12819,12820,12821,12822,12823,12824,12825,12826,12827,12828,12829,12830,12831,12832,12833,12834,12835,12865,12866,12867,12868,12869,12870,12871,12872,12873,12874,12875,12876,12877,12878,12879,12880,12881,12882,14076,14077,14078,14079,14080,14081,14082,14083,14084,14085,14086,14087,14088,14089,14090,14091,14092,14093,14513,14514,14515,14516,14517,14518,14576,14577,14578,14579,14580,14581,14590,14591,14592,14593,14594,14595,15034,15035,15036,15037,15038,15039,15040,15041,15042,15043,15044,15045,15046,15047,15048,15049,15050,15051,15052,15053,15054,15055,15056,15057,15079,15080,15081,15082,15083,15413,15414,15415,15416,15417,15418,15419,15420,15421,15422,15423,15424,15425,15426,15427,15428,15429,15430,16726,16727,16728,16729,16730,16731,17060,17061,17062,17063,17064,17065,17514,17517,17518,17519,17520,17521,17522,18160,18161,18162,18163,18164,18165,18166,18167,18168,18169,18170,18171,18985,18988,18989,18990,18991,18992,19066,19073,19074,19075,19076,19077,19098,19099,19100,19101,19102,19103,19108,19111,19112,19113,19114,19115) 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 (459)
) 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