SQLSTATE[42000]: Syntax error or access violation: 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 stockcount > 0 AND shop_id <> 4' at line 1SELECT id,name,shop_id,product_id,stockcount FROM shop_stock WHERE (shop_stock.deleted IS NULL) AND product_id =  AND stockcount > 0 AND shop_id <> 4
class.phxpdo.php@35