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/html/include/dblayer/functions_mysqli.inc.php:132
Stack trace:
#0 /var/www/html/include/dblayer/functions_mysqli.inc.php(132): mysqli->query()
#1 /var/www/html/include/dblayer/functions_mysqli.inc.php(888): pwg_query()
#2 /var/www/html/include/functions.inc.php(1633): query2array()
#3 /var/www/html/picture.php(952): hash_from_query()
#4 {main}
thrown in /var/www/html/include/dblayer/functions_mysqli.inc.php on line 132