Light Sensor stops working after welding

what do you mean?
It used to detect the light correctly either by pointing on a strong light and by putting a finger on it so the light decreased till the value of 4-5.