# Internal Server Error when editing users posts after update

**URL:** <https://meta.discourse.org/t/internal-server-error-when-editing-users-posts-after-update/104445>\
**Category:** Product Support\
**Created:** [December 17, 2018, 1:42am UTC](https://meta.discourse.org/t/internal-server-error-when-editing-users-posts-after-update/104445 "2018-12-17T01:42:44Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Garrick](https://avatars.discourse-cdn.com/v4/letter/g/b9bd4f/32.png) [@Garrick](https://meta.discourse.org/u/Garrick)\
**Post date:** [December 17, 2018, 1:42am UTC](https://meta.discourse.org/t/internal-server-error-when-editing-users-posts-after-update/104445/1 "2018-12-17T01:42:44Z")

</div>

Just updated today ( [v2.2.0.beta6 +5](https://github.com/discourse/discourse/compare/6213e020e61b80963e0449fa02a66a973c1e8611...tests-passed)

and now my staff nor I cant edit posts. If we try too then we get an internal server error and it doesnt go thru.

```
7 		
NameError (uninitialized constant DiscoursePoll::POLLS_CUSTOM_FIELD Did you mean? PostCustomField) /var/www/discourse/plugins/discourse-elections/lib/poll_edits.rb:6:in `update'
	5:13 pm
32 		
NameError (uninitialized constant DiscoursePoll::POLLS_CUSTOM_FIELD Did you mean? PostCustomField) /var/www/discourse/plugins/discourse-elections/lib/poll_edits.rb:6:in `update'
	5:20 pm
4 		
NameError (uninitialized constant DiscoursePoll::POLLS_CUSTOM_FIELD Did you mean? PostCustomField) /var/www/discourse/plugins/discourse-elections/lib/poll_edits.rb:6:in `update'
	5:37 pm 

```

Going thru the error logs it looks like this is the poll plugin. We have a number of active polls on the site right now. If we remove this, what happens to the polls that are posted?

Edit: I unenabled the plugin from the admin section but still gives the error. Guessing I need to remove from the app.yaml and rebuild?

---

_[View the full topic](https://meta.discourse.org/t/internal-server-error-when-editing-users-posts-after-update/104445)._
