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 Naziv LIMIT 2000' at line 1 in /home/petoletk1/public_html/_class.php:37
Stack trace:
#0 /home/petoletk1/public_html/_class.php(37): PDOStatement->execute()
#1 /home/petoletk1/public_html/_class.php(73): Database->execute()
#2 /home/petoletk1/public_html/_class.php(201): Database->resultset()
#3 /home/petoletk1/public_html/proizvod.php(98): Crud->getAllWhereByCustom('proizvodi_slike', 'IDGalerije = ', 'Naziv')
#4 {main}
thrown in /home/petoletk1/public_html/_class.php on line 37