Porphyria is a term that refers to a group of genetic disorders. This group is sometimes called the porphyrias. Porphyria mainly affects the nervous system or skin. Sometimes it can affect both.