People have been warned against cooking a common food in their air fryer as it could create a fire risk.