Row Count: Unknown column 'category' in 'where clause'