A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/noticiasdia.php

Line Number: 130

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/noticiasdia.php

Line Number: 130

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home5/santacr9/public_html/system/core/Exceptions.php:185)

Filename: core/Common.php

Line Number: 438

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 MySQL server version for the right syntax to use near 'AND `data` <= '2017-08-22'' at line 5

SELECT COUNT(*) AS `numrows` FROM (`noticias_le`) WHERE `categoria` = 5 AND `id` != AND `data` <= '2017-08-22'

Filename: /home5/santacr9/public_html/controllers/noticiasdia.php

Line Number: 132