An apparatus for treating plant diseases and infestations includes a closed receptacle configured to contain a plant and/or produce, and at least one ultraviolet light source mounted in the receptacle and configured to direct ultraviolet light at the plant. The receptacle is provided with latches and position sensors that prevent the ultraviolet source from being activated if the receptacle is open or is not securely supported on a surface.