Query failed: Incorrect key file for table '/tmp/#sql_985c_131.MYI'; try to repair it SQL: SELECT a.id, a.title, a.subtitle, a.description, a.content, a.slug, a.date_published, a.date_updated, a.article_type, a.custom_article_type, a.article_main_type FROM article a LEFT JOIN section_article sa ON a.id=sa.article_id WHERE a.date_published <= NOW() AND sa.section_id='680' AND a.article_status=3 ORDER BY sa.important DESC, sa.order_index ASC, a.date_published DESC LIMIT 1