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.active = 1 group by p.id_product ORDER BY position desc LIMIT 0,1' at line 12

		SELECT SQL_CALC_FOUND_ROWS p.*, pl.`description_short`, pl.`available_now`, pl.`available_later`, pl.`link_rewrite`, pl.`name`,
		t.`rate`, i.`id_image`, il.`legend`, m.`name` AS manufacturer_name 
		FROM ps_product p		
		LEFT JOIN `ps_product_lang` pl ON (p.`id_product` = pl.`id_product` AND pl.`id_lang` = 3)
		LEFT OUTER JOIN `ps_image` i ON (i.`id_product` = p.`id_product` AND i.`cover` = 1)
		LEFT JOIN `ps_image_lang` il ON (i.`id_image` = il.`id_image` AND il.`id_lang` = 3)
		LEFT JOIN `ps_tax` t ON (p.`id_tax` = t.`id_tax`)
		LEFT JOIN `ps_manufacturer` m ON (m.`id_manufacturer` = p.`id_manufacturer`)
		LEFT JOIN `ps_category` c ON (c.`id_category` = p.`id_category_default` AND pl.`id_lang` = 3)
		LEFT JOIN `ps_product_attribute` pa ON (p.`id_product` = pa.`id_product`)
		LEFT JOIN `ps_product_attribute_combination` pac ON (pac.`id_product_attribute` = pa.`id_product_attribute`)
		WHERE pa.quantity > 0 and  pac.id_attribute = 48 AND  (p.price >= ⊂mit=  and p.price < )
		AND p.active = 1
		group by p.id_product ORDER BY  position desc
		LIMIT 0,1000