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 pc1.id_lang = 3' at line 4

			SELECT pc.*
			FROM `ps_blog_post` pc LEFT JOIN `ps_blog_post_data` pc1
			ON(pc1.id_item = pc.id)
			WHERE pc.`id` =  AND pc1.id_lang = 3