Warning: [mysql error 2006] MySQL server has gone away
SELECT DISTINCT(i.id)
FROM piwigo_images AS i
INNER JOIN piwigo_image_category AS ic ON i.id = ic.image_id
INNER JOIN piwigo_categories AS c ON ic.category_id = c.id
WHERE (ic.category_id NOT IN (65,68,74,75,76,77,78,80,12) AND i.level<=0)
ORDER BY RAND(NOW())
LIMIT 0, 25
; in /htdocs/include/dblayer/functions_mysqli.inc.php on line 847
Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in /htdocs/include/dblayer/functions_mysqli.inc.php:908
Stack trace:
#0 /htdocs/include/functions.inc.php(1609): query2array('\r\nSELECT DISTIN...', NULL, 'id')
#1 /htdocs/plugins/PWG_Stuffs/modules/Random/main.inc.php(48): array_from_query('\r\nSELECT DISTIN...', 'id')
#2 /htdocs/plugins/PWG_Stuffs/class.inc.php(106): include('/htdocs/plugins...')
#3 /htdocs/plugins/PWG_Stuffs/class.inc.php(36): stuffs->process_modules()
#4 /htdocs/plugins/PWG_Stuffs/main.inc.php(42): stuffs->__construct()
#5 /htdocs/include/functions_plugins.inc.php(264): load_stuffs()
#6 /htdocs/index.php(28): trigger_notify('loc_begin_index')
#7 {main}
thrown in /htdocs/include/dblayer/functions_mysqli.inc.php on line 908
Warning: [mysql error 2006] MySQL server has gone away
REPLACE INTO piwigo_sessions
(id,data,expiration)
VALUES('12E0816d6baf123c30367b1916d4246e6325','pwg_device|s:7:\"desktop\";',now())
; in /htdocs/include/dblayer/functions_mysqli.inc.php on line 847