Warning: Attempt to read property "idopstina" on bool in /home/europoli/public_html/nekretnine-prodaja.php on line 108

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 'AND 1=1 ORDER BY idponuda desc LIMIT 2000' at line 1 in /home/europoli/public_html/_class.php:37 Stack trace: #0 /home/europoli/public_html/_class.php(37): PDOStatement->execute() #1 /home/europoli/public_html/_class.php(73): Database->execute() #2 /home/europoli/public_html/_class.php(213): Database->resultset() #3 /home/europoli/public_html/nekretnine-prodaja.php(108): Crud->getAllWhereByCustom('ponuda', 'stsaktivan = "D...', 'idponuda desc') #4 {main} thrown in /home/europoli/public_html/_class.php on line 37