I don't ever use the method of dissolving KOH in hot glycerin, and I strongly discourage anyone else from doing this.
Far too many inexperienced people get into trouble, as you have. It is an unnecessarily hazardous method to use even if done correctly. If not done correctly, the mixture will decompose and create toxic chemicals. And I have yet to see anyone explain the benefits of this method, compared to safer room-temperature methods of dissolving the KOH.
I always recommend dissolving the KOH in an equal weight of water at room temperature. Do NOT use heat -- heating is not necessary. After the KOH is dissolved in water, add sufficient extra water or glycerin or both to make up the total amount of water required for the recipe.
I have no idea what you did wrong with the KOH-glycerin mixture. You haven't given any details. But that doesn't matter -- just get the problem fixed and then don't do this anymore. One possible solution to the problem -- Have you tried adding some water to the KOH-glycerin mixture to see if that will dissolve the mess? Wear eye and personal protection if you do this. I have no idea what might happen.