Languages
SELECT pages.* FROM pages INNER JOIN languages ON pages.language_id = languages.abbreviation INNER JOIN menus ON pages.menu_id = menus.id WHERE pages.language_id = 'en' AND menus.menu_placement = 'top' AND pages.menu_id = '1' AND pages.is_home = 0 AND pages.is_published = 1 AND (pages.finish_publishing = '0000-00-00' OR pages.finish_publishing >= '2017-04-24') AND pages.access_level = 'public' ORDER BY pages.priority_order ASC|Got error 28 from storage engine