diff options
Diffstat (limited to 'core/FrontController.php')
-rw-r--r-- | core/FrontController.php | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/core/FrontController.php b/core/FrontController.php index e61e37d21d..33dab49e47 100644 --- a/core/FrontController.php +++ b/core/FrontController.php @@ -621,7 +621,17 @@ class FrontController extends Singleton } $logo = new CustomLogo(); - $result = Piwik_GetErrorMessagePage($message, $debugTrace, true, true, $logo->getHeaderLogoUrl(), $logo->getPathUserFavicon()); + + $logoHeaderUrl = false; + $logoFaviconUrl = false; + try { + $logoHeaderUrl = $logo->getHeaderLogoUrl(); + $logoFaviconUrl = $logo->getPathUserFavicon(); + } catch (Exception $ex) { + Log::debug($ex); + } + + $result = Piwik_GetErrorMessagePage($message, $debugTrace, true, true, $logoHeaderUrl, $logoFaviconUrl); /** * Triggered before a Piwik error page is displayed to the user. |