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

  FROM piwigo_images
    INNER JOIN piwigo_image_category AS ic ON id = ic.image_id
  WHERE hit > 0
    AND (category_id NOT IN (2,10,11,13,28,61))
     ORDER BY hit DESC, id DESC
  LIMIT 15
; in /home/griffithsgenealogy/public_html/piwigo/include/dblayer/functions_mysqli.inc.php on line 845
Fatal error: Call to a member function fetch_assoc() on a non-object in /home/griffithsgenealogy/public_html/piwigo/include/dblayer/functions_mysqli.inc.php on line 906