« MODx Parse Error »

MODx encountered the following error while attempting to parse the requested resource:
« Execution of a query to the database failed - Table '.\tes\tes_site_content' is marked as crashed and should be repaired »
      SQL: SELECT sc.* FROM `tes`.`tes_site_content` sc LEFT JOIN `tes`.`tes_document_groups` dg ON dg.document = sc.id WHERE sc.id = '2' AND (sc.privateweb=0) LIMIT 1;
      [Copy SQL to ClipBoard]
 
Parser timing
  MySQL: 0.0012 s(0 Requests)
  PHP: 0.0256 s 
  Total: 0.0268 s 
Error while inserting event log into database: Unknown column 'eventid' in 'field list'