diff --git a/core/includes/errors.inc b/core/includes/errors.inc index 1757acd..8945e1e 100644 --- a/core/includes/errors.inc +++ b/core/includes/errors.inc @@ -169,6 +169,9 @@ function _drupal_log_error($error, $fatal = FALSE) { } } + // Severity_level is not a valid replacement value for t(). + unset($error['severity_level']); + if (PHP_SAPI === 'cli') { if ($fatal) { // When called from CLI, simply output a plain text message.