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 p.product_id <> 3 AND p.type = ORDER BY p.product_id DESC LIMIT 0, 4' at line 2
SELECT DISTINCT(p.product_id), p.* FROM products p WHERE p.active = 1 AND p.category_id = AND p.product_id <> 3 AND p.type = ORDER BY p.product_id DESC LIMIT 0, 4
Filename: /home/admin/web/santroni.com.ar/public_html/controllers/front_init.php
Line Number: 270