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 (528,530,606,610,611,612,1506,1507,1718,1811,1812,1945,5057,14307,14323,16653,6161,6162,6163,6164,6165,6166,6167,6168,6190,6191,6192,6193,6194,6195,6196,6197,6198,6200,6201,6202,6203,6204,6205,6206,6207,6208,6209,6210,6211,6212,6213,6214,6215,6216,6218,6219,6220,6221,6222,6223,6224,6226,6227,6228,6229,6232,6233,6234,6235,6236,6237,14310,14311,14312,14313,14314,14315,14316,14317,14318,14319,14320,14321,14326,14327,14328,14329,14330,14331,14332,14333,14334,14335,14336,14337,16673,16680) 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 (447)
) 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