Error: SELECT * FROM product WHERE active = 1 and pid = ER-G23SC(W) LIMIT 1

Unknown column 'ER' in 'where clause'