The error you are reporting comes from https://github.com/discourse/discourse/blob/master/app/views/published_pages/show.html.erb#L6. It’s trying to find the URL of the logo that’s been set by your site’s logo_small setting.
I can reproduce that error by deleting the logo that’s set by my site’s logo_small setting.
If you have not set a small logo for your site, setting one should get rid of the error. I think this is something that needs to be fixed in the Discourse code though. Not having set a small logo should not create a fatal error when going to a published page.