A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/hotels.php

Line Number: 458

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/hotels.php

Line Number: 459

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/hotels.php

Line Number: 460

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/hotels.php

Line Number: 461

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/hotels.php

Line Number: 464

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/hotels.php

Line Number: 465

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/hotels.php

Line Number: 468

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/hotels.php

Line Number: 475

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/hotels.php

Line Number: 476

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/hotels.php

Line Number: 478

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/hotels.php

Line Number: 481

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/hotels.php

Line Number: 481

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/hotels.php

Line Number: 487

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/hotels.php

Line Number: 494

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/hotels.php

Line Number: 501

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/hotels.php

Line Number: 508

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/hotels.php

Line Number: 516

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/hotels.php

Line Number: 517

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/hotels.php

Line Number: 519

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/hotels.php

Line Number: 547

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/hotels.php

Line Number: 547

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/hotels.php

Line Number: 548

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/choowap/public_html/system/libraries/Exceptions.php:166)

Filename: codeigniter/Common.php

Line Number: 356

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 `aff_status` = 1 GROUP BY `hotel`.`addi_id` ORDER BY RAND() LIMIT 6' at line 8

SELECT (hotel.url_en)as urlh_name, `hotel`.`ht_cname`, `addi`.`addi_id`, `addi_latitude`, `addi_longitude`, `dir`, `ht_rating`, `addi`.`sel_data`, `img`.`IMAGEPATH` FROM (`tbl_hotel` hotel) JOIN `tbl_hotel_addi` addi ON `hotel`.`addi_id` = `addi`.`addi_id` LEFT JOIN `hotel_images` img ON `addi`.`HOTELCODE` = `img`.`HOTELCODE` WHERE `hotel`.`ar_id` IS NULL AND `hotel`.`lang_id` IS NULL AND `hotel`.`urlh_name` != AND `aff_status` = 1 GROUP BY `hotel`.`addi_id` ORDER BY RAND() LIMIT 6