Warning: [mysql error 145] Table './photo_parakhod_ru/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 = 185

  ORDER BY date_creation ASC
; 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 891