A Database Error Occurred

Error Number: 1054

Unknown column 'T.R' in 'where clause'

SELECT products.* FROM products left join product_filter on product_filter.product_id = products.id WHERE products.status = 1 AND product_filter.filtertype in (T.R) AND products.category_id =3

Filename: controllers/Front.php

Line Number: 521