Warning: [mysql error 145] Table './apphotos/piwigo_images' is marked as crashed and should be repaired SELECT DISTINCT(id) FROM piwigo_images i INNER JOIN piwigo_image_category AS ic ON id = ic.image_id WHERE ( (file LIKE '%alissa%' OR name LIKE '%alissa%' OR comment LIKE '%alissa%') AND (file LIKE '%yu%' OR name LIKE '%yu%' OR comment LIKE '%yu%')) AND (category_id NOT IN (123,230,224) AND level<=0) ORDER BY date_available DESC, file ASC, id ASC in /var/www/html/photos/include/dblayer/functions_mysqli.inc.php on line 856

Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in /var/www/html/photos/include/dblayer/functions_mysqli.inc.php:917 Stack trace: #0 /var/www/html/photos/include/functions.inc.php(1538): query2array('\nSELECT DISTINC...', NULL, 'id') #1 /var/www/html/photos/include/functions_search.inc.php(250): array_from_query('\nSELECT DISTINC...', 'id') #2 /var/www/html/photos/include/functions_search.inc.php(1469): get_regular_search_results(Array, '') #3 /var/www/html/photos/include/section_init.inc.php(350): get_search_results('7509', NULL) #4 /var/www/html/photos/index.php(12): include('/var/www/html/p...') #5 {main} thrown in /var/www/html/photos/include/dblayer/functions_mysqli.inc.php on line 917