Warning: [mysql error 145] Table './album2/piwigo_sessions' is marked as crashed and should be repaired

SELECT data
  FROM piwigo_sessions
  WHERE id = '36A11debqep2netaujb7r3j0059ac1'
; in /var/www/html/piwigo/include/dblayer/functions_mysqli.inc.php on line 830
Warning: [mysql error 145] Table './album2/piwigo_images' is marked as crashed and should be repaired

SELECT DISTINCT(image_id)
  FROM piwigo_image_category
    INNER JOIN piwigo_images ON id = image_id
  WHERE
    category_id = 231
AND (category_id NOT IN (46,49))
  ORDER BY date_available DESC, file ASC, id ASC
; in /var/www/html/piwigo/include/dblayer/functions_mysqli.inc.php on line 830
Fatal error: Call to a member function fetch_assoc() on a non-object in /var/www/html/piwigo/include/dblayer/functions_mysqli.inc.php on line 891
Warning: [mysql error 145] Table './album2/piwigo_sessions' is marked as crashed and should be repaired

REPLACE INTO piwigo_sessions
  (id,data,expiration)
  VALUES('36A11debqep2netaujb7r3j0059ac1','',now())
; in /var/www/html/piwigo/include/dblayer/functions_mysqli.inc.php on line 830