A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/productos_interna.php

Line Number: 23

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/productos_interna.php

Line Number: 24

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/productos_interna.php

Line Number: 26

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 438

Database Error

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 `products`.`products_categorys_id` = 4 ORDER BY RAND() LIMIT 4' at line 6

SELECT products.*, users.name as user FROM (`products`) LEFT JOIN `users` ON `users`.`id` = `products`.`users_id` WHERE `products`.`tipo` = 'product' AND products.id!= AND `products`.`products_categorys_id` = 4 ORDER BY RAND() LIMIT 4

Filename: /home/teowebmin/public_html/models/m_products.php

Line Number: 99