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 '' at line 1' in /home/orsinivahc/www/system/lib/DB.php:233
Stack trace:
#0 /home/orsinivahc/www/system/lib/DB.php(233): PDOStatement->execute(Array)
#1 /home/orsinivahc/www/application/index/model/Location.model.php(153): DB->query('SELECT MIN(r.pr...')
#2 /home/orsinivahc/www/application/index/controller/Rent.controller.php(36): Model_Location->all(1, 1, 0, 0, 0)
#3 [internal function]: Controller_Rent->index('4')
#4 /home/orsinivahc/www/system/lib/Route.php(363): ReflectionMethod->invokeArgs(Object(Controller_Rent), Array)
#5 /home/orsinivahc/www/index.php(99): Route->execute()
#6 {main}
thrown in /home/orsinivahc/www/system/lib/DB.php on line 233