Warning: A non-numeric value encountered in /var/www/html/demo_orari_yogyakarta/modules/FrontFoto.php on line 106

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 '-21, 21' at line 10 in /var/www/html/demo_orari_yogyakarta/include/data/DatabaseClass.php:28 Stack trace: #0 /var/www/html/demo_orari_yogyakarta/include/data/DatabaseClass.php(28): PDO->query('SELECT f.*, \n\t\t...') #1 /var/www/html/demo_orari_yogyakarta/modules/FrontFoto.php(121): DatabaseClass->get_results('SELECT f.*, \n\t\t...') #2 /var/www/html/demo_orari_yogyakarta/modules/FrontFoto.php(35): FrontFoto->index() #3 /var/www/html/demo_orari_yogyakarta/modules/FrontClass.php(84): FrontFoto->init() #4 /var/www/html/demo_orari_yogyakarta/awal.php(55): FrontClass->init() #5 /var/www/html/demo_orari_yogyakarta/awal.php(61): cms->init() #6 {main} thrown in /var/www/html/demo_orari_yogyakarta/include/data/DatabaseClass.php on line 28