Warning: [mysql error 2013] Lost connection to MySQL server during query SELECT DISTINCT(WEEK(date_available, 5)+1) as period, COUNT(DISTINCT id) as nb_images FROM piwigo_images INNER JOIN piwigo_image_category ON id = image_id WHERE (category_id NOT IN (1078,1079,1296,1258,1259,564,581,706,1410,769,984)) AND date_available BETWEEN '2020-01-01' AND '2020-12-31 23:59:59' GROUP BY period; in /home/nsellier/public_html/nsellier.fr/Galeries/Macrophotographies/include/dblayer/functions_mysqli.inc.php on line 856

Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in /home/nsellier/public_html/nsellier.fr/Galeries/Macrophotographies/include/dblayer/functions_mysqli.inc.php:904 Stack trace: #0 /home/nsellier/public_html/nsellier.fr/Galeries/Macrophotographies/include/calendar_base.class.php(234): query2array('\nSELECT DISTINC...', 'period', 'nb_images') #1 /home/nsellier/public_html/nsellier.fr/Galeries/Macrophotographies/include/calendar_weekly.class.php(82): CalendarBase->build_nav_bar(1, Array) #2 /home/nsellier/public_html/nsellier.fr/Galeries/Macrophotographies/include/functions_calendar.inc.php(192): CalendarWeekly->generate_category_content() #3 /home/nsellier/public_html/nsellier.fr/Galeries/Macrophotographies/include/section_init.inc.php(557): initialize_calendar() #4 /home/nsellier/public_html/nsellier.fr/Galeries/Macrophotographies/index.php(12): include('/home/nsellier/...') #5 {main} thrown in /home/nsellier/public_html/nsellier.fr/Galeries/Macrophotographies/include/dblayer/functions_mysqli.inc.php on line 904

Warning: [mysql error 2006] MySQL server has gone away REPLACE INTO piwigo_sessions (id,data,expiration) VALUES('03EF216eb40950084e941c58b9ea94d30a2e','pwg_device|s:7:\"desktop\";pwg_mobile_theme|b:0;',now()) ; in /home/nsellier/public_html/nsellier.fr/Galeries/Macrophotographies/include/dblayer/functions_mysqli.inc.php on line 856