Warning: [mysql error 145] Table '.\gallery1\piwigo1_images' is marked as crashed and should be repaired SELECT DISTINCT(YEAR(date_available)) as period, COUNT(DISTINCT id) as nb_images 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_available IS NOT NULL GROUP BY period; 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:893 Stack trace: #0 C:\piwigo\include\calendar_base.class.php(249): query2array('\nSELECT DISTINC...', 'period', 'nb_images') #1 C:\piwigo\include\calendar_monthly.class.php(115): CalendarBase->build_nav_bar(0) #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 893