Fatal error: Uncaught exception 'PDOException' with message '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 '-12,12' at line 1' in /var/www/html/a/db.class.php:41
Stack trace:
#0 /var/www/html/a/db.class.php(41): PDO->query('SELECT *,SUM(im...')
#1 /var/www/html/a/get_immobile.php(191): db->query('SELECT *,SUM(im...')
#2 /var/www/html/_get_immobile.php(8): get_immobile('', 12, '')
#3 /var/www/html/box_header.php(49): include('/var/www/html/_...')
#4 /var/www/html/catalogo-immobili.php(2): include_once('/var/www/html/b...')
#5 {main}
thrown in /var/www/html/a/db.class.php on line 41