Internal Server Error when editing users posts after update

Exactly that. Remove the discourse-elections plugin from the app.yml, rebuild and the site will be back.