Buying potassium tert butoxide fresh is very recommended. It is very hygroscopic, and unless stored in a glove box it will almost certainly contain at least trace tert butanol and KOH.
Its also possible another reagent in your reaction had some water, which formed KOH in situ.