Sometimes ice builds up in the evaporator pans. This issue can lead to water overflow during defrosting. Typically, there are two reasons for ice build up in the pans.
Usually, hot supply to the evaporator pan can be done in parallel to the evaporator hot gas supply or in series to the evaporator hot gas supply. I prefer the series hot gas supply. This means that all flow of hot gas goes to the pan first and then goes to the evaporator. Superheated hot gas releases the superheat in the pan and the pan becomes warmer than the evaporator and this higher temperature will minimize probability of ice build up in the pan.
If you have ice in the evaporator pan, the reason for the ice build up should be corrected first. Then the evaporator should be covered and manually defrosted before switching to normal operation.