Warning: [mysql error 1064] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'groups IS NULL OR groups REGEXP CONCAT("(^|,)",group_id,"(,|$)"))
AND level <=' at line 7
SELECT DISTINCT id, title, permalink
FROM piwigo_additionalpages
LEFT JOIN piwigo_user_group
ON user_id = 2
WHERE (lang IS NULL OR lang = "en_UK")
AND (users IS NULL OR users LIKE "%guest%")
AND (groups IS NULL OR groups REGEXP CONCAT("(^|,)",group_id,"(,|$)"))
AND level <= 0
AND pos >= 0
ORDER BY pos ASC
; in /home/jardinonx/www_galerie/piwigo/include/dblayer/functions_mysqli.inc.php on line 845
Fatal error: Uncaught Error: Call to a member function fetch_assoc() on boolean in /home/jardinonx/www_galerie/piwigo/include/dblayer/functions_mysqli.inc.php:226
Stack trace:
#0 /home/jardinonx/www_galerie/piwigo/plugins/AdditionalPages/main.inc.php(124): pwg_db_fetch_assoc(false)
#1 /home/jardinonx/www_galerie/piwigo/include/functions_plugins.inc.php(279): ap_apply(Array)
#2 /home/jardinonx/www_galerie/piwigo/include/block.class.php(194): trigger_notify('blockmanager_ap...', Array)
#3 /home/jardinonx/www_galerie/piwigo/include/menubar.inc.php(337): BlockManager->apply('MENUBAR', 'menubar.tpl')
#4 /home/jardinonx/www_galerie/piwigo/include/menubar.inc.php(30): initialize_menu()
#5 /home/jardinonx/www_galerie/piwigo/picture.php(1039): include('/home/jardinonx...')
#6 {main}
thrown in /home/jardinonx/www_galerie/piwigo/include/dblayer/functions_mysqli.inc.php on line 226