diff --git a/app/views/layouts/error.html.haml b/app/views/layouts/error.html.haml
index 414ac9c72..b288e6ed8 100644
--- a/app/views/layouts/error.html.haml
+++ b/app/views/layouts/error.html.haml
@@ -13,6 +13,6 @@
.dialog__illustration
%h1
= link_to root_url, class: 'brand' do
- = site_title
+ = Setting.default_settings['site_title']
.dialog__message
%h1= yield :content