I have recently had an increase in eye discharge and have difficulty opening my eyes when I wake up in the morning.

Cataract surgery is an internal eye operation and is contraindicated if conjunctivitis or lacrimal sacculitis is present and in its acute stage.