A childminder has been forced to move her business after an error by housing bosses left her facing closure just weeks before Christmas.