I just updated to WriteFreely 0.11.0 from 0.10.0. I downloaded the tarball from the releases page, extracted it into a new place, and copied over my database, keys, and config.ini. I ran the database migration and, when I start writefreely and try to load the home page, I get an error screen and the following message in the console.
ERROR: 2019/11/11 11:57:56 collections.go:820: Unable to render collection index: template: collection.tmpl:74:125: executing "collection" at <.Host>: can't evaluate field Host in type writefreely.PublicPost
ERROR: 2019/11/11 11:57:56 handle.go:508: [Web handler] 500: template: collection.tmpl:74:125: executing "collection" at <.Host>: can't evaluate field Host in type writefreely.PublicPost
I assume this is because your PublicPost struct doesn't have a .Host property, as seen here.
The text was updated successfully, but these errors were encountered:
@Kansattica I'm having trouble reproducing this with v0.11.0, I will double check using the release tarball but in the meantime could you share your server config? not the database or anything that should be secret, just the options set in the [app] section of config.ini.