From c0553c3ff15eb2a43593328fd472f846555fe797 Mon Sep 17 00:00:00 2001 From: Liam Morland <liam@openplus.ca> Date: Mon, 5 Aug 2024 10:42:56 -0400 Subject: [PATCH] Issue #3466008: Replace deprecated ::renderPlain() --- src/Form/FillPdfSettingsForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Form/FillPdfSettingsForm.php b/src/Form/FillPdfSettingsForm.php index c7d7a7a..cfba454 100644 --- a/src/Form/FillPdfSettingsForm.php +++ b/src/Form/FillPdfSettingsForm.php @@ -197,7 +197,7 @@ class FillPdfSettingsForm extends ConfigFormBase { '#items' => $items, ], ]; - $this->messenger()->addError($this->renderer->renderPlain($error_message)); + $this->messenger()->addError($this->renderer->renderInIsolation($error_message)); } $this->logger('fillpdf')->critical('File storage %previous_scheme is no longer available.' . $count ? " $count FillPDF forms are defunct." : '', [ -- GitLab