Warning: [mysql error 145] Table './gal/gal_images' is marked as crashed and should be repaired SELECT CONCAT_WS('-',YEAR(date_available),MONTH(date_available),DAYOFMONTH(date_available)) AS period FROM gal_images INNER JOIN gal_image_category ON id = image_id WHERE 1 = 1 AND date_available IS NOT NULL GROUP BY period in /www/include/dblayer/functions_mysqli.inc.php on line 856

Fatal error: Uncaught Error: Call to a member function fetch_assoc() on boolean in /www/include/dblayer/functions_mysqli.inc.php:917 Stack trace: #0 /www/include/calendar_base.class.php(305): query2array('SELECT CONCAT_W...', NULL, 'period') #1 /www/include/calendar_monthly.class.php(114): CalendarBase->build_next_prev() #2 /www/include/functions_calendar.inc.php(192): CalendarMonthly->generate_category_content() #3 /www/include/section_init.inc.php(557): initialize_calendar() #4 /index.php(19): include('/www/include/se...') #5 {main} thrown in /www/include/dblayer/functions_mysqli.inc.php on line 917