WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 6]SELECT ID,post_content,post_title,post_name,meta_value
FROM sbc_wp_posts
LEFT JOIN sbc_wp_postmeta on post_id = ID
WHERE post_status= 'publish' and post_type ='portfolio'
AND meta_key = 'my_meta_box_text'
AND ID IN ()