Fresh produce is not cooked, which is a reliable method of killing pathogens. Moves by major U.S. fast-food chains to temporarily scrub fresh onions off their menus on Thursday, after the vegetable was named as the likely source of an E. coli outbreak at McDonald’s, laid bare the recurring nightmare for restaurants: Produce is a bigger problem for restaurants to keep free of contamination than beef.