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 'ORDER BY Redosled LIMIT 1' at line 1 in /home/satbusco/sattravel.rs/_class.php:37
Stack trace:
#0 /home/satbusco/sattravel.rs/_class.php(37): PDOStatement->execute()
#1 /home/satbusco/sattravel.rs/_class.php(32): Database->execute()
#2 /home/satbusco/sattravel.rs/_class.php(145): Database->single()
#3 /home/satbusco/sattravel.rs/smestaj-print.php(5): Crud->getSingleWhereBy('destinacije_v', 'Aktivan = 1 AND...', 'Redosled')
#4 {main}
thrown in /home/satbusco/sattravel.rs/_class.php on line 37