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

SELECT DISTINCT(image_id)
  FROM piwigo_image_category
    INNER JOIN piwigo_images ON id = image_id
  WHERE
    category_id = 22
AND (category_id NOT IN (14,17))
  ORDER BY date_available DESC, file ASC, id DESC
; in /hsphere/local/home/thule/fotoklubnegativ-konkurrence.dk/photos/piwigo/include/dblayer/functions_mysqli.inc.php on line 845
Fatal error: Call to a member function fetch_assoc() on boolean in /hsphere/local/home/thule/fotoklubnegativ-konkurrence.dk/photos/piwigo/include/dblayer/functions_mysqli.inc.php on line 906