SQL Error: Incorrect key file for table '/tmp/#sql_336_0.MYI'; try to repair it
In query:
SELECT `posts`.*, `categories`.*, IF(`posts`.`lastMod` > `categories`.`lastMod`, `posts`.`lastMod`,`categories`.`lastMod`) as `lastMod` FROM `posts` INNER JOIN `categories` ON `posts`.`catId` = `categories`.`catId` ORDER BY `categories`.`catName` LIMIT 10;