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

  FROM piwigo_images AS i
    JOIN piwigo_image_category AS ic ON ic.image_id = i.id
   WHERE  (category_id NOT IN (2,10,11,13,28,61))
    AND author IS NOT NULL
  GROUP BY author, id
  ORDER BY author
; 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 226