diff --git a/app/views/layouts/error.html.haml b/app/views/layouts/error.html.haml
index 7d014dff4f..37359b89b9 100644
--- a/app/views/layouts/error.html.haml
+++ b/app/views/layouts/error.html.haml
@@ -9,6 +9,6 @@
= stylesheet_pack_tag Setting.default_settings['theme'], media: 'all'
%body.error
.dialog
- %img{ alt: title, src: '/oops.gif' }/
+ %img{ alt: Setting.default_settings['site_title'], src: '/oops.gif' }/
%div
%h1= yield :content