getting same issue
the query
SELECT wv39_posts.* FROM wv39_posts WHERE 1=1 AND wv39_posts.ID = 8 AND wv39_posts.post_type IN (‘post’, ‘page’, ‘attachment’) ORDER BY wv39_posts.post_date DESC
why it’s taking home page id in where condition
please reply, thanks in advance