Warning: [mysql error 145] Table './usr_web5_2/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 = 632
AND (category_id NOT IN (258,900,899,898,897,896,895,798,797,809,818,826,825,925,834,833,846,847,848,849,850,867,866,865,864,863,862,861,860,859,868,869,870,871,872,873,874,875,876,934,935,936,943,880,774,773,772,771,770,769,768,767,766,765,764,763,762,886,885,740,741,742,743,744,745,746,747,748,749,727,726,961,960,959,958,957,956,955,954,968,980,991,990,989,1015,1048,1049,1059,1058,1060,1061,1064,1063,1078,1077,1076,1075,1074,1073,1072,1082,1087,1096,1095,1094,1093,1092,1099,1106,1114,1113,1115,1116,1117,1122,1125,1130,1131,1132,1138,1139,1140,1144,1149,1154,1155,1156,1157,1158,1175,1174,1186,1195,1196,1197,1198,1199,1200,1201,1895,1896,1761,1762,1763,1764,1765,1897,1898,1899,1814,1815,1893,1894,1847,1848,1797,1798,1811,1812,1813,1284,1285,1546,1549,1548,1547,1647,1648,1649,1650,1342 in /srv/www/vhosts/kleines-fest.de/httpdocs/Bilder/include/dblayer/functions_mysqli.inc.php on line 832
Fatal error: Call to a member function fetch_assoc() on a non-object in /srv/www/vhosts/kleines-fest.de/httpdocs/Bilder/include/dblayer/functions_mysqli.inc.php on line 893