Discourse v3.0.6 to v3.1.1 upgrade error - undefined method `register_bookmarkable' for Bookmark:Class

Did you remove the chat plugin from your app.yml prior to updating? You should.