Foods to avoid with diverticulitis. In the past, doctors had recommended that people with diverticular disease (diverticulosis or diverticulitis) avoid hard-to-digest foods such as nuts, corn, popcorn or seeds, because of the risk that these foods may get stuck in the diverticula and lead to inflammation.