Nuts are another food to avoid if you have diverticulosis. Like seeds, the small size of nuts can cause them to get stuck in the pouches. This can lead to inflammation and pain. Avoid eating foods that contain nuts, such as peanut butter and granola. If you can’t avoid nuts altogether, make sure to remove them before eating.