There is indeed merit to using beehives to keep elephants from eating and destroying crops.
Agricultural pests are one of the key factors affecting small holder farmer production. Focus is normally put on invertebrate pests, but rodents can do severe damage to crops as well.
Elephants feeding on crops poses a challenge to their coexistence with humans. Farmers must introduce strategies to reduce losses and avoid lethal action against the endangered species.
A combination of armyworms native to Africa and those normally found in the Americas are ravaging crops in sub-Saharan Africa.