diff --git a/core/includes/errors.inc b/core/includes/errors.inc
index 707968b..d7d3b25 100644
--- a/core/includes/errors.inc
+++ b/core/includes/errors.inc
@@ -167,7 +167,7 @@ function _drupal_log_error($error, $fatal = FALSE) {
     if ($fatal) {
       // When called from CLI, simply output a plain text message.
       // Should not translate the string to avoid errors producing more errors.
-      $response->setContent(html_entity_decode(strip_tags(format_string('%type: !message in %function (line %line of %file).', $error))). "\n");
+      $response->setContent(html_entity_decode(strip_tags(format_string('.', $error))). "\n");
       $response->send();
       exit;
     }
@@ -178,7 +178,7 @@ function _drupal_log_error($error, $fatal = FALSE) {
       if (error_displayable($error)) {
         // When called from JavaScript, simply output the error message.
         // Should not translate the string to avoid errors producing more errors.
-        $response->setContent(format_string('%type: !message in %function (line %line of %file).', $error));
+        $response->setContent(format_string('.', $error));
         $response->send();
       }
       exit;
@@ -209,7 +209,7 @@ function _drupal_log_error($error, $fatal = FALSE) {
         }
       }
       // Should not translate the string to avoid errors producing more errors.
-      $message = format_string('%type: !message in %function (line %line of %file).', $error);
+      $message = format_string('.', $error);
 
       // Check if verbose error reporting is on.
       $error_level = _drupal_get_error_level();
@@ -229,7 +229,7 @@ function _drupal_log_error($error, $fatal = FALSE) {
       // We fallback to a maintenance page at this point, because the page generation
       // itself can generate errors.
       // Should not translate the string to avoid errors producing more errors.
-      $message = 'The website encountered an unexpected error. Please try again later.' . '<br />' . $message;
+      $message = '.' . '<br />' . $message;
 
       if ($is_installer) {
         // install_display_output() prints the output and ends script execution.
