Issue #2350507 by hussainweb, hctom, jbrown: Fixed \Drupal\Core\Url has no __toString() magic method.