Unhandled Exception of class PaSqlError

SELECT u.*, a.group_id, g.group_title, r.id AS resume_id, r.resume_title, CONCAT_WS(" ",a.agent_name,r.first_name,r.last_name) AS full_name FROM `User` AS u LEFT JOIN Agent AS a ON (u.id=a.id) AND (u.user_type="agent") LEFT JOIN `Resume` AS r ON (r.owner_id=u.id) AND (u.user_type="candidate") LEFT JOIN `Group` AS g ON (g.id=a.group_id) AND (u.user_type="agent") WHERE (u.`date_lastseen`>DATE_SUB(NOW(),INTERVAL 1 MINUTE)) AND (u.`user_type`="agent") ORDER BY u.`date_lastseen` DESC
Table './cleantech/Resume' is marked as crashed and should be repaired
ErrorNumber:145

#0 /var/www/vhosts/generation-cleantech.com/httpdocs/classes/framework/classes/PaMySqlDbConnection.php(135): PaMySqlDbConnection->createError('/var/www/vhosts...', 135, '\n        \tSELEC...')
#1 /var/www/vhosts/generation-cleantech.com/httpdocs/classes/framework/classes/PaDataset.php(57): PaMySqlDbConnection->exec('\n        \tSELEC...')
#2 /var/www/vhosts/generation-cleantech.com/httpdocs/classes/framework/classes/PaMySqlDbConnection.php(109): PaDataset->open('\n        \tSELEC...')
#3 /var/www/vhosts/generation-cleantech.com/httpdocs/classes/framework/classes/PaDatabaseConnection.php(387): PaMySqlDbConnection->getDataset('\n        \tSELEC...')
#4 /var/www/vhosts/generation-cleantech.com/httpdocs/classes/IMController.php(199): PaDatabaseConnection->fetchAllRows('\n        \tSELEC...')
#5 /var/www/vhosts/generation-cleantech.com/httpdocs/sections/im.whoisonline.php(76): IMController::getWhoIsOnline()
#6 /var/www/vhosts/generation-cleantech.com/httpdocs/index.php(318): require_once('/var/www/vhosts...')
#7 {main}