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 (271,270,269,268,267,266,265,264,263,262,261,260,259,258,257,256,255,254,253,252,251,250,177,178,179,231,180,181,232,182,218,219,220,183,221,184,185,186,187,233,188,234,189,235,236,190,222,237,238,191,192,223,193,194,239,224,195,196,228,197,198,199,240,200,201,202,203,241,242,204,205,225,243,206,226,207,208,244,245,209,229,246,210,211,212,213,247,230,214,215,248,227,216,249,217,168,147,148,169,149,170,171,164,172,173,150,151,152,153,174,154,155,165,175,176,166,156,157,167,158,159,160,161,162,163,146,145,144,143,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,140,129,130,131,132,133,134,135,136,137,138,139,85,86,87,88,89,90,91,92,93,94,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,76,77,78,79, 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