Consumption of evening primrose oil won't cause hernia to flare up.
You can have hiatus hernia, acquired or congenital (born like this).
Conditions that can make your hernia flare up are those related to increased abdominal pressure, like pregnancy, obesity, straining due to constipation.
Muscle weakening and loss of elasticity as people age is thought to predispose to hiatus hernia.
Patients can have reflux without a demonstrable hiatal hernia. When a hernia is present in a patient with symptomatic GERD, the hernia may worsen symptoms.
Best wishes!
Marija