Unknown column 'reseller' in 'where clause'