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 'ORDER BY Redosled LIMIT 2000' 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(73): Database->execute()
#2 /home/satbusco/sattravel.rs/_class.php(201): Database->resultset()
#3 /home/satbusco/sattravel.rs/destinacija.php(70): Crud->getAllWhereByCustom('smestaj_v', 'Aktivan = 1 and...', 'Redosled')
#4 {main}
thrown in
/home/satbusco/sattravel.rs/_class.php on line
37