diff --git a/administrator/templates/atum/error_full.php b/administrator/templates/atum/error_full.php
index cb018d763c1fe..5d64cb5ea82da 100644
--- a/administrator/templates/atum/error_full.php
+++ b/administrator/templates/atum/error_full.php
@@ -89,14 +89,18 @@
$themeModeAttr = $themeModes[$userColorScheme];
} else {
// Check parameters first (User and Template), then look if we have detected the OS color scheme (if it set to 'os')
- $colorScheme = $app->getIdentity()->getParam('colorScheme', $colorScheme);
+ $colorScheme = $app->getIdentity()?->getParam('colorScheme', $colorScheme) ?? 'os';
$osColorScheme = $colorScheme === 'os' ? $app->getInput()->cookie->get('osColorScheme', '') : '';
$themeModeAttr = ($themeModes[$colorScheme] ?? '') . ($themeModes[$osColorScheme] ?? '');
}
}
-// @see administrator/templates/atum/html/layouts/status.php
- $statusModules = LayoutHelper::render('status', ['modules' => 'status']);
+ // The module renderer will not work properly due to incomplete Application initialisation
+ $renderModules = $app->getIdentity() && $app->getLanguage();
+
+ // @see administrator/templates/atum/html/layouts/status.php
+ $statusModules = $renderModules ? LayoutHelper::render('status', ['modules' => 'status']) : '';
+
?>
>
@@ -122,9 +126,13 @@
'logo-collapsed', 'loading' => 'eager', 'decoding' => 'async'], false, 0); ?>
-