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 'and ID <> ORDER BY Redosled LIMIT 2000' at line 1 in /home/sspsrsyu/delovizamehanizaciju.rs/_class.php:37
Stack trace:
#0 /home/sspsrsyu/delovizamehanizaciju.rs/_class.php(37): PDOStatement->execute()
#1 /home/sspsrsyu/delovizamehanizaciju.rs/_class.php(73): Database->execute()
#2 /home/sspsrsyu/delovizamehanizaciju.rs/_class.php(201): Database->resultset()
#3 /home/sspsrsyu/delovizamehanizaciju.rs/proizvod.php(4): Crud->getAllWhereByCustom('podkategorija', 'Aktivan = 1 and...', 'Redosled')
#4 {main}
thrown in /home/sspsrsyu/delovizamehanizaciju.rs/_class.php on line 37