We have had several photocells and other related equipment damaged recently. The major culprit has been the Kirkland batteries. Fumes from one set of batteries damaged the internal circuit board.
Strange since Costco batteries are made by Duracell
In general it is always a great idea to remove batteries when not in use.