A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/produtos.php

Line Number: 87

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/livalter/public_html/sistema/core/Exceptions.php:170)

Filename: core/Common.php

Line Number: 405

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 '10' at line 5

select c.prod_cod, p.prod_isbn, p.prod_nome, p.prod_valor_venda, i.prod_img_arquivo from categorias_produtos c, produtos p, produtos_img i where c.cat_cod='71' and p.prod_cod=c.prod_cod and p.prod_status=1 and i.prod_cod=c.prod_cod and i.prod_img_capa=1 and c.prod_cod not in (select distinct prod_cod from ofertas where now() between oferta_datainicio and oferta_datafinal) order by p.prod_qtde desc limit ,10

Filename: /home/livalter/public_html/models/produtos_model.php

Line Number: 85