diff --git a/core/lib/Drupal/Core/Database/Install/Tasks.php b/core/lib/Drupal/Core/Database/Install/Tasks.php index c4d88d2..17d681f 100644 --- a/core/lib/Drupal/Core/Database/Install/Tasks.php +++ b/core/lib/Drupal/Core/Database/Install/Tasks.php @@ -8,6 +8,7 @@ namespace Drupal\Core\Database\Install; use Drupal\Core\Database\Database; +use Drupal\Component\Utility\String; /** * Database installer structure. @@ -155,7 +156,7 @@ public function runTasks() { } if (!empty($message)) { $message = '

In order for Drupal to work, and to continue with the installation process, you must resolve all issues reported below. For more help with configuring your database server, see the installation handbook. If you are unsure what any of this means you should probably contact your hosting provider.

' . $message; - throw new TaskException($message); + throw new TaskException(String::format($message)); } }