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

SELECT data
  FROM piwigo_sessions
  WHERE id = '23AFtu4odtod7rn5jvcngq0cv48gq1'
; 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