Warning: [mysql error 1053] Server shutdown in progress
SELECT
c.id,
c.uppercats,
count(*) AS counter
FROM piwigo_image_category
INNER JOIN piwigo_categories c ON category_id = id
WHERE image_id IN (255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,247,248,249,250,251,252,253,254)
AND (category_id NOT IN (1,215,281,282,283,284,285,286,287,288,211,256,255,254,253,252,251,250,249,248,247,246,212,265,264,263,262,261,260,259,258,257,213,271,270,269,268,267,266,214,280,279,278,277,276,275,274,273,272))
AND category_id NOT IN (7)
GROUP BY c.id
ORDER BY counter DESC
LIMIT 20 in /home/gallery/Public_html/include/dblayer/functions_mysqli.inc.php on line 847
Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in /home/gallery/Public_html/include/dblayer/functions_mysqli.inc.php:211
Stack trace:
#0 /home/gallery/Public_html/include/functions_category.inc.php(713): pwg_db_fetch_assoc()
#1 /home/gallery/Public_html/include/functions_category.inc.php(725): get_common_categories()
#2 /home/gallery/Public_html/include/menubar.inc.php(133): get_related_categories_menu()
#3 /home/gallery/Public_html/include/menubar.inc.php(15): initialize_menu()
#4 /home/gallery/Public_html/index.php(103): include('/home/gallery/P...')
#5 {main}
thrown in /home/gallery/Public_html/include/dblayer/functions_mysqli.inc.php on line 211
Warning: [mysql error 2006] MySQL server has gone away
REPLACE INTO piwigo_sessions
(id,data,expiration)
VALUES('D849jhiknr3acu2a0sj6801c92v8si','pwg_show_metadata|b:1;pwg_referer_image_id|s:4:\"7337\";pwg_device|s:7:\"desktop\";',now())
; in /home/gallery/Public_html/include/dblayer/functions_mysqli.inc.php on line 847