Warning: [mysql error 145] Table './www_xietuku_com/piwigo_images' is marked as crashed and should be repaired
SELECT DISTINCT(MONTH(date_creation)) as period,
COUNT(DISTINCT id) as nb_images FROM piwigo_images
INNER JOIN piwigo_image_category ON id = image_id
WHERE 1 = 1 AND date_creation IS NOT NULL
GROUP BY period; in /www/wwwroot/www.xietuku.com/include/dblayer/functions_mysqli.inc.php on line 864
Fatal error: Uncaught Error: Call to a member function fetch_assoc() on boolean in /www/wwwroot/www.xietuku.com/include/dblayer/functions_mysqli.inc.php:912
Stack trace:
#0 /www/wwwroot/www.xietuku.com/include/calendar_base.class.php(242): query2array('\nSELECT DISTINC...', 'period', 'nb_images')
#1 /www/wwwroot/www.xietuku.com/include/calendar_monthly.class.php(96): CalendarBase->build_nav_bar(1)
#2 /www/wwwroot/www.xietuku.com/include/functions_calendar.inc.php(192): CalendarMonthly->generate_category_content()
#3 /www/wwwroot/www.xietuku.com/include/section_init.inc.php(571): initialize_calendar()
#4 /www/wwwroot/www.xietuku.com/index.php(27): include('/www/wwwroot/ww...')
#5 {main}
thrown in /www/wwwroot/www.xietuku.com/include/dblayer/functions_mysqli.inc.php on line 912