diff -u b/core/lib/Drupal/Core/StreamWrapper/ProfileStream.php b/core/lib/Drupal/Core/StreamWrapper/ProfileStream.php --- b/core/lib/Drupal/Core/StreamWrapper/ProfileStream.php +++ b/core/lib/Drupal/Core/StreamWrapper/ProfileStream.php @@ -19,7 +19,7 @@ * {@inheritdoc} */ protected function getOwnerName() { - return drupal_get_profile(); + return \Drupal::installProfile(); } /**