Warning: mysqli::query(): (HY000/126): Incorrect key file for table './piwigo/piwigo_image_category.MYI'; try to repair it in /home/www/wwwroot/Images/include/dblayer/functions_mysqli.inc.php on line 149

Warning: [mysql error 126] Incorrect key file for table './piwigo/piwigo_image_category.MYI'; try to repair it SELECT c.id, c.uppercats, count(*) AS counter FROM piwigo_image_category INNER JOIN piwigo_categories c ON category_id = id WHERE image_id IN (177,179,231,180,218,220,183,221,184,185,186,187,233,188,234,189,235,190,222,237,238,191,192,223,193,194,239,224,195,197,198,199,200,201,202,203,204,205,225,243,206,226,207,208,244,245,209,229,246,210,211,213,247,214,215,248,227,216,249,217,168,148,169,149,170,171,164,172,173,150,151,152,153,174,154,155,165,175,176,166,167,158,159,160,161,162,163,144,113,114,115,116,117,118,119,121,122,123,124,125,126,127,128,140,129,130,131,133,134,135,136,137,138,139,85,86,87,88,89,90,91,92,93,95,96,97,98,99,100,101,102,110,103,104,105,106,111,107,108,109,112,69,70,71,72,73,74,75,78,79,80,81,82,83,84,6,7,8,9,10,11,12,13,14,16,17,18,19,20,21,22,23,24,25,26,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,52,53,54,55,56,57,58,59,60,61,62,64,65,66 in /home/www/wwwroot/Images/include/dblayer/functions_mysqli.inc.php on line 864

Fatal error: Call to a member function fetch_assoc() on a non-object in /home/www/wwwroot/Images/include/dblayer/functions_mysqli.inc.php on line 228