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 /var/www/olausson.de/htdocs/piwigo/include/dblayer/functions_mysqli.inc.php:132
Stack trace:
#0 /var/www/olausson.de/htdocs/piwigo/include/dblayer/functions_mysqli.inc.php(132): mysqli->query('\nSELECT id, nam...')
#1 /var/www/olausson.de/htdocs/piwigo/include/dblayer/functions_mysqli.inc.php(888): pwg_query('\nSELECT id, nam...')
#2 /var/www/olausson.de/htdocs/piwigo/include/functions.inc.php(1633): query2array('\nSELECT id, nam...', 'id')
#3 /var/www/olausson.de/htdocs/piwigo/picture.php(950): hash_from_query('\nSELECT id, nam...', 'id')
#4 {main}
thrown in /var/www/olausson.de/htdocs/piwigo/include/dblayer/functions_mysqli.inc.php on line 132