Warning: [mysql error 145] Table '.\gallery1\piwigo1_images' is marked as crashed and should be repaired SELECT DATE_FORMAT(date_creation, '%Y%m') as period, COUNT(distinct id) as count FROM piwigo1_images INNER JOIN piwigo1_image_category ON id = image_id WHERE (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) AND date_creation IS NOT NULL GROUP BY period ORDER BY YEAR(date_creation) DESC, MONTH(date_creation) 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:226 Stack trace: #0 C:\piwigo\include\calendar_monthly.class.php(251): pwg_db_fetch_assoc(false) #1 C:\piwigo\include\calendar_monthly.class.php(83): CalendarMonthly->build_global_calendar(Array) #2 C:\piwigo\include\functions_calendar.inc.php(207): CalendarMonthly->generate_category_content() #3 C:\piwigo\include\section_init.inc.php(561): initialize_calendar() #4 C:\piwigo\index.php(27): include('C:\\piwigo\\inclu...') #5 {main} thrown in C:\piwigo\include\dblayer\functions_mysqli.inc.php on line 226