# I can’t enable voting

**URL:** https://meta.discourse.org/t/i-can-t-enable-voting/112456
**Category:** Support
**Tags:** topic-voting
**Created:** [March 24, 2019, 3:57pm UTC](https://meta.discourse.org/t/i-can-t-enable-voting/112456 "2019-03-24T15:57:19Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![MrMoins](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mrmoins/32/134776_2.png) [@MrMoins](https://meta.discourse.org/u/MrMoins)
#### Post date: [March 24, 2019, 3:57pm UTC](https://meta.discourse.org/t/i-can-t-enable-voting/112456/1 "2019-03-24T15:57:20Z")

</div>

Hi!  
I’ve install the voting plugin, I see the checkbox to enable voting in the category parameters but when I check it to enable voting it doesn’t save correctly.  
Re-opening category settings show me the setting unchecked.  
Did I miss some config stuff after plugin install or something?

Just after saving category settings I can see this error in `/logs`

```
Uncaught Error: Property set failed: object in path "custom_fields" could not be found.
Url: https://forum.example.com/assets/ember_jquery-5dbd79abddf53926275c73f77dbe61e7351258de8d2e886bf2ce86f144378598.js
Line: 6
Column: 27777
Window Location: https://forum.example.com/c/my-category/my-subcategory

```

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [March 24, 2019, 11:12pm UTC](https://meta.discourse.org/t/i-can-t-enable-voting/112456/2 "2019-03-24T23:12:37Z")

</div>

What version of Discourse are you running?

---

<div class="post-metadata">

### Author: ![MrMoins](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mrmoins/32/134776_2.png) [@MrMoins](https://meta.discourse.org/u/MrMoins)
#### Post date: [March 24, 2019, 11:15pm UTC](https://meta.discourse.org/t/i-can-t-enable-voting/112456/3 "2019-03-24T23:15:35Z")

</div>

it’s version v2.3.0.beta5 +175 with :

 ![09](https://global.discourse-cdn.com/meta/original/3X/1/6/166668e87cf22bb0b007416cc4c8d1231edc406d.png)

and

![40](https://global.discourse-cdn.com/meta/original/3X/4/d/4de702f5efc71fa422127d58413eb00e2ab46ef1.png)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [March 24, 2019, 11:20pm UTC](https://meta.discourse.org/t/i-can-t-enable-voting/112456/4 "2019-03-24T23:20:38Z")

</div>

I am not reproing this here @vinothkannans can you have a quick look to see the serializer is adding custom\_fields even if there are none, can you test this on local?

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [March 25, 2019, 2:33am UTC](https://meta.discourse.org/t/i-can-t-enable-voting/112456/6 "2019-03-25T02:33:22Z")

</div>

My fault! It’s not adding it. Fixed in commit

[https://github.com/discourse/discourse/commit/b8bd031648afa17fb3952dea17f54ec8c9c30caf](https://github.com/discourse/discourse/commit/b8bd031648afa17fb3952dea17f54ec8c9c30caf)

---

<div class="post-metadata">

### Author: ![MrMoins](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mrmoins/32/134776_2.png) [@MrMoins](https://meta.discourse.org/u/MrMoins)
#### Post date: [March 25, 2019, 6:06am UTC](https://meta.discourse.org/t/i-can-t-enable-voting/112456/7 "2019-03-25T06:06:55Z")

</div>

Thanks a lot! it’s working fine now, but there is another glitch.

Just after enabling votes for a category, I can see that all topic have 1 vote in the list, but 0 on a topic thread.

 ![01](https://global.discourse-cdn.com/meta/original/3X/9/2/92e27c7c7c155126af31ee7221b08812e42075b9.png)  
 ![17](https://global.discourse-cdn.com/meta/original/3X/a/c/ac3972dc2e0914922f8c9b56d2792cec59f592d1.png)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [March 25, 2019, 6:34am UTC](https://meta.discourse.org/t/i-can-t-enable-voting/112456/8 "2019-03-25T06:34:29Z")

</div>

@vinothkannans is this also coming from the serializer changes?

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [March 25, 2019, 6:45am UTC](https://meta.discourse.org/t/i-can-t-enable-voting/112456/9 "2019-03-25T06:45:40Z")

</div>

I don’t think so. I will check now.

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [March 25, 2019, 7:52am UTC](https://meta.discourse.org/t/i-can-t-enable-voting/112456/11 "2019-03-25T07:52:18Z")

</div>

It is French translation related issue. I fixed the English locale file in below commit. I will fix the French translation in [Transifex](https://www.transifex.com/discourse/discourse-org/) and let you know here.

[https://github.com/discourse/discourse-voting/commit/412320b06e02260fcc302451fc48f8eefc988a77](https://github.com/discourse/discourse-voting/commit/412320b06e02260fcc302451fc48f8eefc988a77)

---

<div class="post-metadata">

### Author: ![MrMoins](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mrmoins/32/134776_2.png) [@MrMoins](https://meta.discourse.org/u/MrMoins)
#### Post date: [March 25, 2019, 8:24am UTC](https://meta.discourse.org/t/i-can-t-enable-voting/112456/12 "2019-03-25T08:24:00Z")

</div>

Thank you for your availability and your efficiency 👍

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [March 25, 2019, 12:53pm UTC](https://meta.discourse.org/t/i-can-t-enable-voting/112456/13 "2019-03-25T12:53:47Z")

</div>

French translation is updated.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [March 25, 2019, 2:49pm UTC](https://meta.discourse.org/t/i-can-t-enable-voting/112456/14 "2019-03-25T14:49:21Z")

</div>

Are any other translations going to be in a similar state?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [March 27, 2019, 1:09am UTC](https://meta.discourse.org/t/i-can-t-enable-voting/112456/15 "2019-03-27T01:09:02Z")

</div>

This topic was automatically closed after 45 hours. New replies are no longer allowed.
