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

SELECT *
  FROM piwigo_images
  WHERE id IN (6629,6213,6182,5419,4983,5177,3729,3439,3367,3422,4173,4494,2726,2652,2591,1979,1828,1792,1763,1584,2424,1374,892,820,653,538,141,5248)
; in /var/www/photo.parakhod.ru/public_html/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/photo.parakhod.ru/public_html/include/dblayer/functions_mysqli.inc.php on line 211