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