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, show_title, id_line, width
FROM phpwebgallery_stuffs
LEFT JOIN phpwebg' at line 1
SELECT DISTINCT id, name, path, datas, groups, show_title, id_line, width
FROM phpwebgallery_stuffs
LEFT JOIN phpwebgallery_user_group
ON user_id = 2
WHERE (users IS NULL OR users LIKE "%guest%")
AND (groups IS NULL OR groups REGEXP CONCAT("(^|,)",group_id,"(,|$)"))
AND level <= 0
AND on_picture = "true"
ORDER BY pos ASC
; in /home/croftcol/www/galleries/include/dblayer/functions_mysqli.inc.php on line 856
Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in /home/croftcol/www/galleries/include/dblayer/functions_mysqli.inc.php:220
Stack trace:
#0 /home/croftcol/www/galleries/plugins/PWG_Stuffs/class.inc.php(73): pwg_db_fetch_assoc(false)
#1 /home/croftcol/www/galleries/plugins/PWG_Stuffs/class.inc.php(35): stuffs->get_modules()
#2 /home/croftcol/www/galleries/plugins/PWG_Stuffs/main.inc.php(53): stuffs->__construct()
#3 /home/croftcol/www/galleries/include/functions_plugins.inc.php(264): load_stuffs()
#4 /home/croftcol/www/galleries/picture.php(137): trigger_notify('loc_begin_pictu...')
#5 {main}
thrown in /home/croftcol/www/galleries/include/dblayer/functions_mysqli.inc.php on line 220