From 6a85955ef336e9a461fc832847f12318b08da013 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Tue, 11 May 2021 21:36:07 +0200 Subject: [PATCH] wip #4464 --- src/app/Http/Controllers/CubistFrontController.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/app/Http/Controllers/CubistFrontController.php b/src/app/Http/Controllers/CubistFrontController.php index 172a6f9..0234bea 100644 --- a/src/app/Http/Controllers/CubistFrontController.php +++ b/src/app/Http/Controllers/CubistFrontController.php @@ -15,10 +15,14 @@ class CubistFrontController extends BaseController public function __construct() { - $this->data['variant'] = App::getVariant(); - $this->data['global'] = Settings::getData(); - $this->data['locales'] = Locale::getLocalesDataForFront(); - $this->data['nav'] = Menu::getNavigation(); + try { + $this->data['variant'] = App::getVariant(); + $this->data['global'] = Settings::getData(); + $this->data['locales'] = Locale::getLocalesDataForFront(); + $this->data['nav'] = Menu::getNavigation(); + }catch (\Exception $e){ + + } } -- 2.39.5