Eye pain following retinal detachment and caterct surgery

Over the last year I have had surgery, first for a detached retina and then for a cataract.  I still have some pain, sometimes quite sharp, often towards the end of the day. I also now do have some aversion to light.  Has anyone had a similar experience?

I had cataract surgery 8 months ago.  I had to have surgery for a slight retinal tear after that.  I also have a retinal vein occlusion in the other eye, which I have had injections for.  I occasional have some slight pain in one eye or the other but no aversion to light;