A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/noticias_economicas.php

Line Number: 43

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/noticias_economicas.php

Line Number: 44

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/noticias_economicas.php

Line Number: 46

Database Error

Ocorreu um erro no banco 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 'ORDER BY notData desc LIMIT 8' at line 5

SELECT * FROM (noticias_indicadores_economicos A ) WHERE `notPrincipal` <> 1 AND `notCod` <> ORDER BY notData desc LIMIT 8