A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/alugueldeimoveis.php

Line Number: 166

A PHP Error was encountered

Severity: Warning

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

Filename: codeigniter/Common.php

Line Number: 360

Database Error

Ocorreu um erro de base de dados

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1

SELECT * FROM ja_imoveis_fotos WHERE ja_imoveis_id_pk =