From 9a0f369bfc0fb4f401844dd8dd3982e1129dc58b Mon Sep 17 00:00:00 2001 From: Nathaniel Catchpole Date: Thu, 30 Jun 2016 12:11:38 +0100 Subject: [PATCH] Issue #2686931 by Mirroar: system_requirements should not call Renderer::render() --- core/modules/system/system.install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/system/system.install b/core/modules/system/system.install index 2f18d1dd88c..c7cc5316be7 100644 --- a/core/modules/system/system.install +++ b/core/modules/system/system.install @@ -678,7 +678,7 @@ function system_requirements($phase) { ]; } - $entity_update_issues = \Drupal::service('renderer')->render($build); + $entity_update_issues = \Drupal::service('renderer')->renderPlain($build); $requirements['entity_update']['severity'] = REQUIREMENT_ERROR; $requirements['entity_update']['value'] = t('Mismatched entity and/or field definitions'); $requirements['entity_update']['description'] = t('The following changes were detected in the entity type and field definitions. @updates', ['@updates' => $entity_update_issues]);