A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 2

Filename: controllers/Search.php

Line Number: 132

Backtrace:

File: /home/deccanproperties/public_html/application/modules/search/controllers/Search.php
Line: 132
Function: _error_handler

File: /home/deccanproperties/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 4

Filename: controllers/Search.php

Line Number: 135

Backtrace:

File: /home/deccanproperties/public_html/application/modules/search/controllers/Search.php
Line: 135
Function: _error_handler

File: /home/deccanproperties/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/deccanproperties/public_html/application/modules/search/models/Search_model.php
Line: 99
Function: get

File: /home/deccanproperties/public_html/application/modules/search/controllers/Search.php
Line: 177
Function: Get_areas

File: /home/deccanproperties/public_html/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 ') ORDER BY `t1`.`id` DESC' at line 7

SELECT `t1`.*, `t2`.`country_name`, `t3`.`state_name`, `t4`.`district_name`, `t5`.`city_name` FROM `areas` as `t1` LEFT JOIN `countries` as `t2` ON `t1`.`country_id` = `t2`.`id` JOIN `states` as `t3` ON `t1`.`state_id` = `t3`.`id` JOIN `districts` as `t4` ON `t1`.`district_id` = `t4`.`id` JOIN `cities` as `t5` ON `t1`.`city_id` = `t5`.`id` WHERE `t1`.`status` = 1 AND `t1`.`id` IN () ORDER BY `t1`.`id` DESC

Filename: modules/search/models/Search_model.php

Line Number: 99