From 41cea2b7bb8de660e7b1b921368533242b30b7ad Mon Sep 17 00:00:00 2001 From: Florent Torregrosa <florent.torregrosa@gmail.com> Date: Sat, 21 Jun 2025 11:18:49 +0200 Subject: [PATCH] Issue #3531513 by grimreaper: Fatal error with 11.2 --- src/HookHandler/PreprocessViewsViewTable.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/HookHandler/PreprocessViewsViewTable.php b/src/HookHandler/PreprocessViewsViewTable.php index 0e0a9363..f47bcdb2 100644 --- a/src/HookHandler/PreprocessViewsViewTable.php +++ b/src/HookHandler/PreprocessViewsViewTable.php @@ -85,7 +85,8 @@ class PreprocessViewsViewTable implements ContainerInjectionInterface { $columnContent = ''; foreach ($column['content'] as $content) { - $columnContent .= $this->renderer->render($content['separator']) . $this->renderer->render($content['field_output']); + $columnContent .= isset($content['separator']) ? $this->renderer->render($content['separator']) : ''; + $columnContent .= isset($content['field_output']) ? $this->renderer->render($content['field_output']) : ''; } $variables['rows'][$rowKey]['columns'][$columnKey]['preparedContent'] = [ -- GitLab