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

SELECT data
  FROM piwigo_sessions
  WHERE id = '23AF23chvsl99qp5pgipg2rggs8vi2'
; in /misc/www/html/xflyball/gallery/include/dblayer/functions_mysqli.inc.php on line 845
Fatal error: Call to a member function fetch_assoc() on a non-object in /misc/www/html/xflyball/gallery/include/dblayer/functions_mysqli.inc.php on line 226