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 MySQL server version for the right syntax to use near 'ORDER BY Datum desc LIMIT 5' at line 1 in /home/hmga0719/skolakozmetike.com/public_html/_class.php:37
Stack trace:
#0 /home/hmga0719/skolakozmetike.com/public_html/_class.php(37): PDOStatement->execute()
#1 /home/hmga0719/skolakozmetike.com/public_html/_class.php(73): Database->execute()
#2 /home/hmga0719/skolakozmetike.com/public_html/_class.php(201): Database->resultset()
#3 /home/hmga0719/skolakozmetike.com/public_html/blog.php(49): Crud->getAllWhereByCustom('tekstovi', 'Aktivan = 1 and...', 'Datum desc', 5)
#4 {main}
thrown in /home/hmga0719/skolakozmetike.com/public_html/_class.php on line 37