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 (524,525,529,614,1508,1509,1510,1717,1946,5064,14063,14290,14300,14338,18019,18046,18051,18059,18092,18097,18136,5085,5086,5087,5088,6238,6239,6240,6241,6242,6244,6245,6246,6247,6248,6249,6251,6252,6253,6254,6255,6256,6257,6259,6260,6261,6263,6264,6265,6266,6267,6268,6269,14076,14077,14078,14079,14080,14081,14082,14083,14084,14085,14086,14087,14088,14089,14090,14091,14092,14093,14294,14295,14296,14297,14298,14299,14301,14302,14303,14304,14305,14306,14341,14342,14343,14344,14345,14346,14347,14348,14349,14350,14513,14514,14515,14516,14517,14518,18677,18678,18679,18680,18681,18682,18683,18684,18685,18686,18688,18689,18690,18691,18692,18694,18695,18696,18697,18698,18699,18700,18701,18702,18703,18704,18705,18706,18707,18708,19217,19218,19219,19220,19221,19222,19223,19224,19225,19226,19227,19228,19229,19230,19231,19232,19233,19234,19235) 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 (460)
) 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