Guinea pigs should not eat onions as they contain toxins that can cause anemia and are quite acidic, which can be harmful to their digestive system. The consumption of onions can lead to digestive issues and can cause health complications for guinea pigs. Therefore, it is best to avoid feeding them this food item.