Not certain that Matthew 18:15-18 is an applicable passage in the case of somebody publically committing sin or preaching abhorrant doctrine, or advocating abhorrant conduct. The passage appears to deal with offenses committed privately, or semi-privately.
Paul confronted public error through public rebuke.
Good point.