Fatal error: Uncaught PrestaShopDatabaseException: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-1' at line 10<br /><br /><pre>SELECT cp.`id_product`
FROM `ps_product` p
INNER JOIN ps_product_shop product_shop
ON (product_shop.id_product = p.id_product AND product_shop.id_shop = 1)
LEFT JOIN `ps_category_product` cp ON p.`id_product` = cp.`id_product`
WHERE cp.`id_category` = 33 AND product_shop.`visibility` IN ("both", "catalog")
AND product_shop.active = 1
AND cp.`id_product` <> 327
ORDER BY p.date_add DESC
LIMIT -1</pre> in /home/arshia1/domains/arshiajahan.com/public_html/classes/db/Db.php:773
Stack trace:
#0 /home/arshia1/domains/arshiajahan.com/public_html/classes/db/Db.php(385): DbCore->displayError()
#1 /home/arshia1/domains/arshiajahan. in /home/arshia1/domains/arshiajahan.com/public_html/classes/Hook.php on line 434