Errors after migrating to a new version (1.9.0.beta3)

@Stranik Thank you for the repro. Can you see if this fixed it for you?

https://github.com/discourse/discourse/commit/b605d5d61bac7a1c16a334624ff85ec2e2c539f2

5 curtidas