Unknown column 'category.id' in 'where clause'