diff --git a/framework/core/src/Http/Controller/AbstractClientController.php b/framework/core/src/Http/Controller/AbstractClientController.php index 3288b3898..8caad8c4b 100644 --- a/framework/core/src/Http/Controller/AbstractClientController.php +++ b/framework/core/src/Http/Controller/AbstractClientController.php @@ -157,7 +157,7 @@ abstract class AbstractClientController extends AbstractHtmlController ); if ($localeCompiler) { - $translations = $this->locales->getTranslator()->getMessages()['messages']; + $translations = array_get($this->locales->getTranslator()->getMessages(), 'messages', []); $translations = $this->filterTranslations($translations, $keys);