Police said that the farmer had reportedly erected illegal electrical fencing around the farmland to prevent wild animals from damaging crops during night