A Database Error Occurred

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 pr_enabled=1 LIMIT 0,1' at line 4

SELECT *, web_products.id AS id, web_product_publics.pub_picto FROM web_products LEFT JOIN web_product_publics ON pr_public = web_product_publics.id LEFT JOIN web_product_categories ON pr_category = web_product_categories.id WHERE web_products.id= AND pr_enabled=1 LIMIT 0,1

Filename: models/Front_model.php

Line Number: 232