A PHP Error was encountered

Severity: Notice

Message: Undefined variable: saleRentStatusEn

Filename: controllers/Property.php

Line Number: 660

Backtrace:

File: /home1/kapaopae/public_html/application/controllers/Property.php
Line: 660
Function: _error_handler

File: /home1/kapaopae/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: saleRentStatusTh

Filename: controllers/Property.php

Line Number: 661

Backtrace:

File: /home1/kapaopae/public_html/application/controllers/Property.php
Line: 661
Function: _error_handler

File: /home1/kapaopae/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 /home1/kapaopae/public_html/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home1/kapaopae/public_html/application/models/Properties_md.php
Line: 819
Function: get

File: /home1/kapaopae/public_html/application/controllers/Property.php
Line: 718
Function: getHomeProperties

File: /home1/kapaopae/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 '`property`.`type` = 1 LIMIT 8' at line 7

SELECT `property`.*, `building`.`name` AS `buildingname`, `building`.`name_th` AS `buildingname_th`, `location`.`loName`, `location`.`loName_th`, `unit_status`.`title` AS `unit_status` FROM `property` LEFT JOIN `building` ON `building`.`id` = `property`.`building` LEFT JOIN `location` ON `location`.`id` = `property`.`location` LEFT JOIN `unit_status` ON `unit_status`.`id` = `property`.`status` WHERE `property`.`authorise` = 1 AND `AND` `property`.`type` = 1 LIMIT 8

Filename: models/Properties_md.php

Line Number: 819