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

SELECT data
  FROM piwigo_sessions
  WHERE id = '36A2r1ouvil4fh8upnvaq9d9b89f24'
; in /var/www/vhosts/trinscript.fr/unionregio.eu/piwigo/include/dblayer/functions_mysqli.inc.php on line 845
Warning: [mysql error 145] Table './unionregio/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 = 1

  ORDER BY date_available DESC, file ASC, id ASC
; in /var/www/vhosts/trinscript.fr/unionregio.eu/piwigo/include/dblayer/functions_mysqli.inc.php on line 845
Fatal error: Call to a member function fetch_assoc() on a non-object in /var/www/vhosts/trinscript.fr/unionregio.eu/piwigo/include/dblayer/functions_mysqli.inc.php on line 906
Warning: [mysql error 145] Table './unionregio/piwigo_sessions' is marked as crashed and should be repaired

REPLACE INTO piwigo_sessions
  (id,data,expiration)
  VALUES('36A2r1ouvil4fh8upnvaq9d9b89f24','pwg_device|s:7:\"desktop\";pwg_mobile_theme|b:0;',now())
; in /var/www/vhosts/trinscript.fr/unionregio.eu/piwigo/include/dblayer/functions_mysqli.inc.php on line 845