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 '-40,20' at line 44 in /var/www/html/model/BaseModel.php:36
Stack trace:
#0 /var/www/html/model/BaseModel.php(36): PDOStatement->execute()
#1 /var/www/html/model/PropertyModel.php(527): BaseModel->selectAll('\n select...', Array)
#2 /var/www/html/hp/system/php/search/index.php(309): PropertyModel->getAllSearchResult(Array)
#3 /var/www/html/hp/system/hpController.php(110): SearchIndexController->init()
#4 /var/www/html/hp/index.php(16): require_once('/var/www/html/h...')
#5 {main}
thrown in /var/www/html/model/BaseModel.php on line 36