A PHP Error was encountered

Severity: Warning

Message: Creating default object from empty value

Filename: models/Imovel_model.php

Line Number: 215

Backtrace:

File: /home/storage/d/e8/db/site1385140216/public_html/application/models/Imovel_model.php
Line: 215
Function: _error_handler

File: /home/storage/d/e8/db/site1385140216/public_html/application/controllers/Main.php
Line: 206
Function: get_ref

File: /home/storage/d/e8/db/site1385140216/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$tipoimovel

Filename: helpers/text_helper.php

Line Number: 43

Backtrace:

File: /home/storage/d/e8/db/site1385140216/public_html/application/helpers/text_helper.php
Line: 43
Function: _error_handler

File: /home/storage/d/e8/db/site1385140216/public_html/application/models/Imovel_model.php
Line: 219
Function: get_url_imovel

File: /home/storage/d/e8/db/site1385140216/public_html/application/controllers/Main.php
Line: 206
Function: get_ref

File: /home/storage/d/e8/db/site1385140216/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$codtiponegocio

Filename: helpers/text_helper.php

Line Number: 43

Backtrace:

File: /home/storage/d/e8/db/site1385140216/public_html/application/helpers/text_helper.php
Line: 43
Function: _error_handler

File: /home/storage/d/e8/db/site1385140216/public_html/application/models/Imovel_model.php
Line: 219
Function: get_url_imovel

File: /home/storage/d/e8/db/site1385140216/public_html/application/controllers/Main.php
Line: 206
Function: get_ref

File: /home/storage/d/e8/db/site1385140216/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$cidade

Filename: helpers/text_helper.php

Line Number: 43

Backtrace:

File: /home/storage/d/e8/db/site1385140216/public_html/application/helpers/text_helper.php
Line: 43
Function: _error_handler

File: /home/storage/d/e8/db/site1385140216/public_html/application/models/Imovel_model.php
Line: 219
Function: get_url_imovel

File: /home/storage/d/e8/db/site1385140216/public_html/application/controllers/Main.php
Line: 206
Function: get_ref

File: /home/storage/d/e8/db/site1385140216/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$bairro

Filename: helpers/text_helper.php

Line Number: 43

Backtrace:

File: /home/storage/d/e8/db/site1385140216/public_html/application/helpers/text_helper.php
Line: 43
Function: _error_handler

File: /home/storage/d/e8/db/site1385140216/public_html/application/models/Imovel_model.php
Line: 219
Function: get_url_imovel

File: /home/storage/d/e8/db/site1385140216/public_html/application/controllers/Main.php
Line: 206
Function: get_ref

File: /home/storage/d/e8/db/site1385140216/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$dormitorios

Filename: helpers/text_helper.php

Line Number: 43

Backtrace:

File: /home/storage/d/e8/db/site1385140216/public_html/application/helpers/text_helper.php
Line: 43
Function: _error_handler

File: /home/storage/d/e8/db/site1385140216/public_html/application/models/Imovel_model.php
Line: 219
Function: get_url_imovel

File: /home/storage/d/e8/db/site1385140216/public_html/application/controllers/Main.php
Line: 206
Function: get_ref

File: /home/storage/d/e8/db/site1385140216/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$suites

Filename: helpers/text_helper.php

Line Number: 43

Backtrace:

File: /home/storage/d/e8/db/site1385140216/public_html/application/helpers/text_helper.php
Line: 43
Function: _error_handler

File: /home/storage/d/e8/db/site1385140216/public_html/application/models/Imovel_model.php
Line: 219
Function: get_url_imovel

File: /home/storage/d/e8/db/site1385140216/public_html/application/controllers/Main.php
Line: 206
Function: get_ref

File: /home/storage/d/e8/db/site1385140216/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$vagas

Filename: helpers/text_helper.php

Line Number: 43

Backtrace:

File: /home/storage/d/e8/db/site1385140216/public_html/application/helpers/text_helper.php
Line: 43
Function: _error_handler

File: /home/storage/d/e8/db/site1385140216/public_html/application/models/Imovel_model.php
Line: 219
Function: get_url_imovel

File: /home/storage/d/e8/db/site1385140216/public_html/application/controllers/Main.php
Line: 206
Function: get_ref

File: /home/storage/d/e8/db/site1385140216/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$areautil

Filename: helpers/text_helper.php

Line Number: 43

Backtrace:

File: /home/storage/d/e8/db/site1385140216/public_html/application/helpers/text_helper.php
Line: 43
Function: _error_handler

File: /home/storage/d/e8/db/site1385140216/public_html/application/models/Imovel_model.php
Line: 219
Function: get_url_imovel

File: /home/storage/d/e8/db/site1385140216/public_html/application/controllers/Main.php
Line: 206
Function: get_ref

File: /home/storage/d/e8/db/site1385140216/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$ref

Filename: helpers/text_helper.php

Line Number: 43

Backtrace:

File: /home/storage/d/e8/db/site1385140216/public_html/application/helpers/text_helper.php
Line: 43
Function: _error_handler

File: /home/storage/d/e8/db/site1385140216/public_html/application/models/Imovel_model.php
Line: 219
Function: get_url_imovel

File: /home/storage/d/e8/db/site1385140216/public_html/application/controllers/Main.php
Line: 206
Function: get_ref

File: /home/storage/d/e8/db/site1385140216/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$codtipoimovel

Filename: models/Imovel_model.php

Line Number: 232

Backtrace:

File: /home/storage/d/e8/db/site1385140216/public_html/application/models/Imovel_model.php
Line: 232
Function: _error_handler

File: /home/storage/d/e8/db/site1385140216/public_html/application/controllers/Main.php
Line: 207
Function: get_relacionados

File: /home/storage/d/e8/db/site1385140216/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$codtiponegocio

Filename: models/Imovel_model.php

Line Number: 233

Backtrace:

File: /home/storage/d/e8/db/site1385140216/public_html/application/models/Imovel_model.php
Line: 233
Function: _error_handler

File: /home/storage/d/e8/db/site1385140216/public_html/application/controllers/Main.php
Line: 207
Function: get_relacionados

File: /home/storage/d/e8/db/site1385140216/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$ref

Filename: models/Imovel_model.php

Line Number: 234

Backtrace:

File: /home/storage/d/e8/db/site1385140216/public_html/application/models/Imovel_model.php
Line: 234
Function: _error_handler

File: /home/storage/d/e8/db/site1385140216/public_html/application/controllers/Main.php
Line: 207
Function: get_relacionados

File: /home/storage/d/e8/db/site1385140216/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$cidade

Filename: models/Imovel_model.php

Line Number: 235

Backtrace:

File: /home/storage/d/e8/db/site1385140216/public_html/application/models/Imovel_model.php
Line: 235
Function: _error_handler

File: /home/storage/d/e8/db/site1385140216/public_html/application/controllers/Main.php
Line: 207
Function: get_relacionados

File: /home/storage/d/e8/db/site1385140216/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$cidade

Filename: models/Imovel_model.php

Line Number: 235

Backtrace:

File: /home/storage/d/e8/db/site1385140216/public_html/application/models/Imovel_model.php
Line: 235
Function: _error_handler

File: /home/storage/d/e8/db/site1385140216/public_html/application/controllers/Main.php
Line: 207
Function: get_relacionados

File: /home/storage/d/e8/db/site1385140216/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$regiao

Filename: models/Imovel_model.php

Line Number: 235

Backtrace:

File: /home/storage/d/e8/db/site1385140216/public_html/application/models/Imovel_model.php
Line: 235
Function: _error_handler

File: /home/storage/d/e8/db/site1385140216/public_html/application/controllers/Main.php
Line: 207
Function: get_relacionados

File: /home/storage/d/e8/db/site1385140216/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$valor

Filename: models/Imovel_model.php

Line Number: 235

Backtrace:

File: /home/storage/d/e8/db/site1385140216/public_html/application/models/Imovel_model.php
Line: 235
Function: _error_handler

File: /home/storage/d/e8/db/site1385140216/public_html/application/controllers/Main.php
Line: 207
Function: get_relacionados

File: /home/storage/d/e8/db/site1385140216/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$valor

Filename: models/Imovel_model.php

Line Number: 235

Backtrace:

File: /home/storage/d/e8/db/site1385140216/public_html/application/models/Imovel_model.php
Line: 235
Function: _error_handler

File: /home/storage/d/e8/db/site1385140216/public_html/application/controllers/Main.php
Line: 207
Function: get_relacionados

File: /home/storage/d/e8/db/site1385140216/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/storage/d/e8/db/site1385140216/public_html/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 564

Backtrace:

File: /home/storage/d/e8/db/site1385140216/public_html/application/models/Imovel_model.php
Line: 236
Function: get

File: /home/storage/d/e8/db/site1385140216/public_html/application/controllers/Main.php
Line: 207
Function: get_relacionados

File: /home/storage/d/e8/db/site1385140216/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 ')<(*0.25))*100 desc LIMIT 12' at line 7

SELECT * FROM `w_imovel` LEFT JOIN `w_foto` ON `w_foto`.`ref` = `w_imovel`.`ref` and `w_foto`.`seq`=0 WHERE `codtipoimovel` IS NULL AND `codtiponegocio` IS NULL AND `w_imovel`.`ref` IS NOT NULL ORDER BY (cidade='')*100 + (cidade='')*(regiao='')*100 + (abs(valor-)<(*0.25))*100 desc LIMIT 12

Filename: models/Imovel_model.php

Line Number: 236