# Error on Topic and Post Voting Plugins

**URL:** https://meta.discourse.org/t/error-on-topic-and-post-voting-plugins/372483
**Category:** Bug
**Tags:** topic-voting, post-voting
**Created:** [July 1, 2025, 7:34pm UTC](https://meta.discourse.org/t/error-on-topic-and-post-voting-plugins/372483 "2025-07-01T19:34:49Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![HandSpy\_v3](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/handspy_v3/32/489737_2.png) [@HandSpy\_v3](https://meta.discourse.org/u/HandSpy_v3)
#### Post date: [July 1, 2025, 7:34pm UTC](https://meta.discourse.org/t/error-on-topic-and-post-voting-plugins/372483/1 "2025-07-01T19:34:49Z")

</div>

Hi all,

Just installed the latest versions of each of these plugins on **Discourse 3.4.6** and got these errors

 ![Error in Topic Voting Plugin](https://global.discourse-cdn.com/meta/original/4X/2/6/6/26658876d4ab4f07d46425fe0f94461b7f03f6b5.png)

 ![Error in Post Voting Plugin](https://global.discourse-cdn.com/meta/original/4X/4/8/e/48e5b405e200e9e853f1f1c2d168cf71b99edded.png)

These errors completely crash Discourse and can only see a blank page.

---

<div class="post-metadata">

### Author: ![philh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/philh/32/532740_2.png) [@philh](https://meta.discourse.org/u/philh)
#### Post date: [July 1, 2025, 7:40pm UTC](https://meta.discourse.org/t/error-on-topic-and-post-voting-plugins/372483/2 "2025-07-01T19:40:05Z")

</div>

Bummer!  
Maybe update Discourse then try again?

Discourse is at 3.5.0.beta8-dev

---

<div class="post-metadata">

### Author: ![HandSpy\_v3](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/handspy_v3/32/489737_2.png) [@HandSpy\_v3](https://meta.discourse.org/u/HandSpy_v3)
#### Post date: [July 1, 2025, 7:49pm UTC](https://meta.discourse.org/t/error-on-topic-and-post-voting-plugins/372483/3 "2025-07-01T19:49:11Z")

</div>

It says up-to-date 🤔

 ![Screenshot 2025-07-01 at 20-44-57 Administração - Fórum Dirigentes - Administração Pública](https://global.discourse-cdn.com/meta/original/4X/2/c/a/2caef289f18e99361c99237bcfe80ed31af2b372.png)

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [July 1, 2025, 7:52pm UTC](https://meta.discourse.org/t/error-on-topic-and-post-voting-plugins/372483/4 "2025-07-01T19:52:24Z")

</div>

> [@philh](#):
>
> Discourse is at 3.5.0.beta8-dev

For the `tests-passed` branch, but if you’re tracking `stable` then I think 3.4.6 is right ([3.4.6: Security fix release](https://meta.discourse.org/t/3-4-6-security-fix-release/370631))

There should be a compatibility file that ensures it doesn’t pull in anything from the plugin the main site isn’t ready for, but maybe that’s gone a little awry for this last one. Hopefully someone can identify what the issue is and smooth it out. 🤞

---

<div class="post-metadata">

### Author: ![philh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/philh/32/532740_2.png) [@philh](https://meta.discourse.org/u/philh)
#### Post date: [July 1, 2025, 8:19pm UTC](https://meta.discourse.org/t/error-on-topic-and-post-voting-plugins/372483/5 "2025-07-01T20:19:22Z")

</div>

True enough but Discourse dev approach is so rock solid I stay with tests-passed and have nearly zero issues. 🙂

Any chance @HandSpy_v3 is not using the official plugin? His OP references two plugins, like we used to have.

---

<div class="post-metadata">

### Author: ![HandSpy\_v3](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/handspy_v3/32/489737_2.png) [@HandSpy\_v3](https://meta.discourse.org/u/HandSpy_v3)
#### Post date: [July 1, 2025, 8:24pm UTC](https://meta.discourse.org/t/error-on-topic-and-post-voting-plugins/372483/6 "2025-07-01T20:24:59Z")

</div>

I’m using the Official plugins, just added in my .yml under

```plaintext
hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          ...
          - git clone https://github.com/discourse/discourse-topic-voting.git
          - git clone https://github.com/discourse/discourse-post-voting.git

```

---

<div class="post-metadata">

### Author: ![philh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/philh/32/532740_2.png) [@philh](https://meta.discourse.org/u/philh)
#### Post date: [July 1, 2025, 9:06pm UTC](https://meta.discourse.org/t/error-on-topic-and-post-voting-plugins/372483/7 "2025-07-01T21:06:17Z")

</div>

> [@philh](#):
>
> His OP references two plugins, like we used to have.

Brain dead, sorry. Two plugins, not one. 🙃

---

<div class="post-metadata">

### Author: ![philh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/philh/32/532740_2.png) [@philh](https://meta.discourse.org/u/philh)
#### Post date: [July 1, 2025, 9:28pm UTC](https://meta.discourse.org/t/error-on-topic-and-post-voting-plugins/372483/8 "2025-07-01T21:28:34Z")

</div>

@HandSpy_v3 You might change to tests-passed in app.yml per Discourse recommendation.

```plaintext
params:
  db_default_text_search_config: "pg_catalog.english"

  ## Set db_shared_buffers to a max of 25% of the total memory.
  ## will be set automatically by bootstrap based on detected RAM, or you can override
  db_shared_buffers: "256MB"

  ## can improve sorting performance, but adds memory usage per-connection
  #db_work_mem: "40MB"

  ## Which Git revision should this container use? (default: tests-passed)
  #version: tests-passed

```

---

<div class="post-metadata">

### Author: ![HandSpy\_v3](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/handspy_v3/32/489737_2.png) [@HandSpy\_v3](https://meta.discourse.org/u/HandSpy_v3)
#### Post date: [July 1, 2025, 9:34pm UTC](https://meta.discourse.org/t/error-on-topic-and-post-voting-plugins/372483/9 "2025-07-01T21:34:36Z")

</div>

Yes, works in beta.

---

<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: [July 1, 2025, 11:58pm UTC](https://meta.discourse.org/t/error-on-topic-and-post-voting-plugins/372483/10 "2025-07-01T23:58:01Z")

</div>

Generally we try to add a compatibility file into plugins to avoid situations like this, will alert the team.

Workaround is to check out an earlier version of the plugin on stable.
