Warning: A non-numeric value encountered in /home/wfde1374/public_html/wahyufebriyana/modules/FrontFoto.php on line 190

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 8 in /home/wfde1374/public_html/wahyufebriyana/include/data/DatabaseClass.php:28 Stack trace: #0 /home/wfde1374/public_html/wahyufebriyana/include/data/DatabaseClass.php(28): PDO->query('SELECT f.*, k.n...') #1 /home/wfde1374/public_html/wahyufebriyana/modules/FrontFoto.php(203): DatabaseClass->get_results('SELECT f.*, k.n...') #2 /home/wfde1374/public_html/wahyufebriyana/modules/FrontFoto.php(29): FrontFoto->albumfoto() #3 /home/wfde1374/public_html/wahyufebriyana/modules/FrontClass.php(62): FrontFoto->init() #4 /home/wfde1374/public_html/wahyufebriyana/awal.php(53): FrontClass->init() #5 /home/wfde1374/public_html/wahyufebriyana/awal.php(59): cms->init() #6 {main} thrown in /home/wfde1374/public_html/wahyufebriyana/include/data/DatabaseClass.php on line 28