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

SELECT data
  FROM piwigo_sessions
  WHERE id = '369Eb9hn2kd7phik6ni38hvgsfc214'
; in /data2/WEBSITES/TRAILMAN/include/dblayer/functions_mysqli.inc.php on line 845
Fatal error: Call to a member function fetch_assoc() on a non-object in /data2/WEBSITES/TRAILMAN/include/dblayer/functions_mysqli.inc.php on line 226