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

SELECT *
  FROM piwigo_images
  WHERE id IN (15149,13215,11576,14242,10027,8661,5595,7003,5013,4712,4664,4487,4417,2847,2778,7754,7872,7683,7681,7177,7171,2076,7250)
; in /home/csi-bvs/public_html/photos/include/dblayer/functions_mysqli.inc.php on line 830
Fatal error: Call to a member function fetch_assoc() on a non-object in /home/csi-bvs/public_html/photos/include/dblayer/functions_mysqli.inc.php on line 211