Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 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 '-21' at line 1 in /var/www/html/include/data/DatabaseClass.php:34
Stack trace:
#0 /var/www/html/include/data/DatabaseClass.php(34): PDO->query('SELECT (SELECT ...')
#1 /var/www/html/modules/FrontFoto.php(98): DatabaseClass->get_results('SELECT (SELECT ...')
#2 /var/www/html/modules/FrontFoto.php(36): FrontFoto->index()
#3 /var/www/html/modules/FrontClass.php(84): FrontFoto->init()
#4 /var/www/html/awal.php(56): FrontClass->init()
#5 /var/www/html/awal.php(62): cms->init()
#6 {main}
thrown in /var/www/html/include/data/DatabaseClass.php on line 34