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 (1295,1296,1297,1298,1299,1300,1301,1302,1303,1304,1305,1306,1307,1308,1166,1310,1311,1312,1313,1314,1315,1316,1317,1318,1176,1320,1178,1179,1180,1181,1182,1183,1185,1186,1187,1331,1189,1190,1191,1192,1193,1194,1195,1196,1197,1198,1199,1200,1201,1202,1203,1204,1205,1206,1207,1208,1209,1353,1354,1355,1356,1357,1215,1216,1217,1218,1219,1220,1364,1365,1366,1367,1225,1226,1227,1228,1229,1373,1374,1375,1376,1377,1235,1236,1237,1238,1239,1270,1271,1272,1273,1244,1245,1276,1277,1278,1279,1280,1281,1252,1253,1254,1255,1256,1257,1258,1259,1260,1261,1262,1263,1264)
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 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/picture.php(1019): 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:\"1377\";pwg_device|s:7:\"desktop\";',now())
; in /home/gallery/Public_html/include/dblayer/functions_mysqli.inc.php on line 847