Causes of painful, feet pitting odema?

Lots of causes... ...And most involve either the heart, the kidneys, or both. Any problem causing painful, pitting edema requires, the care of a doctor, and not just advise over the internet. Please seek care. Good luck.