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 (609,674,1450,1451,1452,1972,1973,1987,1989,8442,8454,1489,1988,6093,6094,6095,6096,6097,6098,6099,6156,6157,6158,6684,8397,8398,8399,8400,8410,8411,8412,8413,8421,8422,8423,8424,8425,8426,8429,8431,8439,8440,8441,8444,8446,8447,8448,8455,8456,8457,8458) 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 (454)
) 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