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 sportstuffs
LEFT JOIN sportuser_group
' at line 1
SELECT DISTINCT id, name, path, datas, groups, show_title, id_line, width
FROM sportstuffs
LEFT JOIN sportuser_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_cats = "true"
ORDER BY pos ASC
; in /home/apsphoto/www/galerie_sport/include/dblayer/functions_mysqli.inc.php on line 845
Fatal error: Uncaught Error: Call to a member function fetch_assoc() on boolean in /home/apsphoto/www/galerie_sport/include/dblayer/functions_mysqli.inc.php:226
Stack trace:
#0 /home/apsphoto/www/galerie_sport/plugins/PWG_Stuffs/class.inc.php(73): pwg_db_fetch_assoc(false)
#1 /home/apsphoto/www/galerie_sport/plugins/PWG_Stuffs/class.inc.php(35): stuffs->get_modules()
#2 /home/apsphoto/www/galerie_sport/plugins/PWG_Stuffs/main.inc.php(53): stuffs->__construct()
#3 /home/apsphoto/www/galerie_sport/include/functions_plugins.inc.php(279): load_stuffs()
#4 /home/apsphoto/www/galerie_sport/index.php(43): trigger_notify('loc_begin_index')
#5 {main}
thrown in /home/apsphoto/www/galerie_sport/include/dblayer/functions_mysqli.inc.php on line 226