From 9ae08d0d4e1910800e27ef88bd63b39cffe735ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20Gro=C3=9Fberndt?= Date: Thu, 2 Jul 2026 12:17:19 +0200 Subject: [PATCH] [BUGFIX] Fix PHP warning when showing message on server side validation error This was broken since 9da55ba2 `[BUGFIX] Show correct message on server side validation error` --- Classes/Domain/Service/ValidationService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Domain/Service/ValidationService.php b/Classes/Domain/Service/ValidationService.php index 53fd3d6fb..37b1a86e0 100644 --- a/Classes/Domain/Service/ValidationService.php +++ b/Classes/Domain/Service/ValidationService.php @@ -34,7 +34,7 @@ public function doServersideValidation(User $user, ServerRequestInterface $reque foreach ($errors as $error) { $validationErrors[] = GeneralUtility::makeInstance( FlashMessage::class, - LocalizationUtility::translate($error['message'], 'femanager', $error->getArguments()), + LocalizationUtility::translate($error->getMessage(), 'femanager', $error->getArguments()), $error->getTitle(), ContextualFeedbackSeverity::ERROR, );