Warning: [mysql error 145] Table '.\gallery1\piwigo1_images' is marked as crashed and should be repaired SELECT DISTINCT(id) FROM piwigo1_images INNER JOIN piwigo1_image_category AS ic ON id = ic.image_id WHERE date_available>=LEAST(SUBDATE(CURRENT_DATE,INTERVAL 7 DAY),SUBDATE('2017-10-26 14:13:01',INTERVAL 1 DAY)) AND (category_id NOT IN (11,12,13,10,14,40,41,44,43,28,27,38,36,26,34,35,23,31,32,47,57,58) AND level<=0)ORDER BY date_available DESC,date_available DESC, file ASC, id ASC ; in C:\piwigo\include\dblayer\functions_mysqli.inc.php on line 845

Fatal error: Uncaught Error: Call to a member function fetch_assoc() on boolean in C:\piwigo\include\dblayer\functions_mysqli.inc.php:906 Stack trace: #0 C:\piwigo\include\section_init.inc.php(460): query2array('\nSELECT DISTINC...', NULL, 'id') #1 C:\piwigo\index.php(27): include('C:\\piwigo\\inclu...') #2 {main} thrown in C:\piwigo\include\dblayer\functions_mysqli.inc.php on line 906