They were vaccinated...
If you read the article, the headline is "Vaccine-derived poliovirus... detected"
When you take the oral polio vaccine, its a live virus and sometimes that virus can be spread. So in this case, someone who had likely recently been vaccinated via the oral vaccine used a toilet in London and the virus was detected in the sewers.