Error in selecting a category : Unknown column 'door' in 'where clause'