A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$south_west_lat

Filename: models/Search_model.php

Line Number: 854

Backtrace:

File: /var/www/html/api.idx.company/application/models/Search_model.php
Line: 854
Function: _error_handler

File: /var/www/html/api.idx.company/application/controllers/api/Search.php
Line: 394
Function: getMapListingData

File: /var/www/html/api.idx.company/application/libraries/REST_Controller.php
Line: 743
Function: call_user_func_array

File: /var/www/html/api.idx.company/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$south_west_lon

Filename: models/Search_model.php

Line Number: 855

Backtrace:

File: /var/www/html/api.idx.company/application/models/Search_model.php
Line: 855
Function: _error_handler

File: /var/www/html/api.idx.company/application/controllers/api/Search.php
Line: 394
Function: getMapListingData

File: /var/www/html/api.idx.company/application/libraries/REST_Controller.php
Line: 743
Function: call_user_func_array

File: /var/www/html/api.idx.company/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$north_east_lat

Filename: models/Search_model.php

Line Number: 856

Backtrace:

File: /var/www/html/api.idx.company/application/models/Search_model.php
Line: 856
Function: _error_handler

File: /var/www/html/api.idx.company/application/controllers/api/Search.php
Line: 394
Function: getMapListingData

File: /var/www/html/api.idx.company/application/libraries/REST_Controller.php
Line: 743
Function: call_user_func_array

File: /var/www/html/api.idx.company/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$north_east_lon

Filename: models/Search_model.php

Line Number: 857

Backtrace:

File: /var/www/html/api.idx.company/application/models/Search_model.php
Line: 857
Function: _error_handler

File: /var/www/html/api.idx.company/application/controllers/api/Search.php
Line: 394
Function: getMapListingData

File: /var/www/html/api.idx.company/application/libraries/REST_Controller.php
Line: 743
Function: call_user_func_array

File: /var/www/html/api.idx.company/index.php
Line: 315
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 'AND _listings.latitude < AND _listings.longitude > AND _listings.longitude < AND' at line 3

SELECT _listings.id, _listings.mls_server_id, _listings.mls_unique_id,listing_type,latitude, longitude, price, date_created,listing_size, bath_total,bedrooms, address_street_num,address_street_name,address_street_suffix,address_city,address_state_or_province,address_zip_code,photo_count,_listings_images.url as 'image_url',status FROM _listings LEFT OUTER JOIN _listings_images ON _listings.mls_unique_id = _listings_images.mls_unique_id WHERE _listings.latitude > AND _listings.latitude < AND _listings.longitude > AND _listings.longitude < AND _listings.mls_server_id IN (34,35) AND ( listing_type = 'for_sale' AND (status = 'ACTIVE' OR status = 'PENDING') ) AND bedrooms >=0 AND bath_total >=0 GROUP BY _listings.id ORDER BY _listings.date_created desc LIMIT 200

Filename: models/Search_model.php

Line Number: 1027