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 MariaDB server version for the right syntax to use near '-12, 12' at line 10 in /home/wfde1374/public_html/kaltengcerdas.id/include/data/DatabaseClass.php:28
Stack trace:
#0 /home/wfde1374/public_html/kaltengcerdas.id/include/data/DatabaseClass.php(28): PDO->query('SELECT f.*, k.n...')
#1 /home/wfde1374/public_html/kaltengcerdas.id/modules/FrontFoto.php(122): DatabaseClass->get_results('SELECT f.*, k.n...')
#2 /home/wfde1374/public_html/kaltengcerdas.id/modules/FrontFoto.php(36): FrontFoto->index()
#3 /home/wfde1374/public_html/kaltengcerdas.id/modules/FrontClass.php(80): FrontFoto->init()
#4 /home/wfde1374/public_html/kaltengcerdas.id/awal.php(53): FrontClass->init()
#5 /home/wfde1374/public_html/kaltengcerdas.id/awal.php(59): cms->init()
#6 {main}
thrown in /home/wfde1374/public_html/kaltengcerdas.id/include/data/DatabaseClass.php on line 28