Should be `Url::to()`. Basically, all occurrences of `Html::url()` should be replaced by `Url::to()` instead of `Url::toRoute()`.