Hepatic porphyria is a group of rare genetic disorders that affect the production of heme in the liver. This leads to a buildup of porphyrins, which can cause a range of symptoms including abdominal pain, skin sensitivity to sunlight, and neurological problems. Treatment options include avoiding triggers, medication, and in severe cases, liver transplantation.