Error: SELECT * FROM product WHERE active = 1 and pid = ER-G7TC LIMIT 1

Unknown column 'ER' in 'where clause'