A PHP Error was encountered

Severity: Notice

Message: Undefined index: query_map

Filename: controllers/Properties.php

Line Number: 522

Backtrace:

File: /home/brayproperties/public_html/application/controllers/Properties.php
Line: 522
Function: _error_handler

File: /home/brayproperties/public_html/index.php
Line: 295
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/brayproperties/public_html/system/core/Exceptions.php:272)

Filename: core/Common.php

Line Number: 564

Backtrace:

File: /home/brayproperties/public_html/application/controllers/Properties.php
Line: 522
Function: query

File: /home/brayproperties/public_html/index.php
Line: 295
Function: require_once

Database Error

A Database Error Occurred

Error Number: 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 Price ASC LIMIT 0,10' at line 1

ORDER By Price ASC LIMIT 0,10

Filename: controllers/Properties.php

Line Number: 522