we have a private discourse community hosted here http://discourse.curtisbrowncreative.co.uk/
now what is interesting is that nothing on that is not on /admin/ route works
for example the main page it self or any other route works
they all return error 500.
The production.log has this in it
Completed 404 Not Found in 56ms (Views: 1.1ms | ActiveRecord: 20.5ms)
Started GET "/extra-locales/admin" for 105.231.204.251 at 2017-10-18 07:02:44 +0000
Processing by ExtraLocalesController#show as */*
Parameters: {"bundle"=>"admin"}
Rendering text template
Rendered text template (0.0ms)
Completed 200 OK in 28ms (Views: 1.4ms | ActiveRecord: 5.3ms)
Started GET "/c/write-to-the-end-of-your-novel/introduction-and-pace" for 105.231.204.251 at 2017-10-18 07:03:04 +0000
Processing by ListController#parent_category_category_latest as HTML
Parameters: {"parent_category"=>"write-to-the-end-of-your-novel", "category"=>"introduction-and-pace"}
Completed 500 Internal Server Error in 157ms (ActiveRecord: 59.3ms)
NoMethodError (undefined method `name' for nil:NilClass)
/var/www/discourse/app/models/site_setting.rb:61:in `homepage'
Started GET "/c/write-to-the-end-of-your-novel/introduction-and-pace" for 105.231.204.251 at 2017-10-18 07:03:29 +0000
Processing by ListController#parent_category_category_latest as HTML
Parameters: {"parent_category"=>"write-to-the-end-of-your-novel", "category"=>"introduction-and-pace"}
Completed 500 Internal Server Error in 117ms (ActiveRecord: 45.4ms)
NoMethodError (undefined method `name' for nil:NilClass)
/var/www/discourse/app/models/site_setting.rb:61:in `homepage'
Started GET "/" for 105.231.204.251 at 2017-10-18 07:03:38 +0000
NoMethodError (undefined method `name' for nil:NilClass)
/var/www/discourse/app/models/site_setting.rb:61:in `homepage'
Started GET "/c/uncategorized" for 105.231.204.251 at 2017-10-18 07:03:48 +0000
Processing by ListController#category_default as HTML
Parameters: {"category"=>"uncategorized"}
Completed 500 Internal Server Error in 139ms (ActiveRecord: 60.6ms)
NoMethodError (undefined method `name' for nil:NilClass)
/var/www/discourse/app/models/site_setting.rb:61:in `homepage'
the routes are similar for other routes.
The only change that happened was a domain change following this Change the domain name or rename my Discourse?