WordPress database error: [Got error 28 from table handler]
SELECT DISTINCT * FROM wp_posts WHERE 1=1 AND YEAR(post_date)='2007' AND MONTH(post_date)='1' AND DAYOFMONTH(post_date)='25' AND post_name = 'namm-2007' AND post_date_gmt <= '2016-05-03 12:34:59' AND (post_status != "static") GROUP BY wp_posts.ID ORDER BY post_date DESC

1 I really need an ID for this to work.