Is water entering the light housing? The cord stopper is to prevent water going out the niche through the conduit which is what the light fixture sits in. If your trying to fix the light fixture the cord stopper is not for that.
You might need a new gasket or some marine epoxy for around the...