Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 3 in /www/htdocs/w013ccf4/include/dblayer/functions_mysqli.inc.php:132
Stack trace:
#0 /www/htdocs/w013ccf4/include/dblayer/functions_mysqli.inc.php(132): mysqli->query('\nSELECT id, nam...')
#1 /www/htdocs/w013ccf4/include/dblayer/functions_mysqli.inc.php(888): pwg_query('\nSELECT id, nam...')
#2 /www/htdocs/w013ccf4/include/functions.inc.php(1633): query2array('\nSELECT id, nam...', 'id')
#3 /www/htdocs/w013ccf4/picture.php(950): hash_from_query('\nSELECT id, nam...', 'id')
#4 {main}
thrown in /www/htdocs/w013ccf4/include/dblayer/functions_mysqli.inc.php on line 132