A Christmas warning has been issued to millions of dog owners over a mistake which left a pet fighting for its life.