# Polls causing issues

**URL:** <https://meta.discourse.org/t/polls-causing-issues/315088>\
**Category:** Bug\
**Tags:** polls, fixed\
**Created:** [July 5, 2024, 6:17am UTC](https://meta.discourse.org/t/polls-causing-issues/315088 "2024-07-05T06:17:10Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Chief-Engineer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chief-engineer/32/381576_2.png) [@Chief-Engineer](https://meta.discourse.org/u/Chief-Engineer)\
**Post date:** [July 5, 2024, 6:17am UTC](https://meta.discourse.org/t/polls-causing-issues/315088/1 "2024-07-05T06:17:10Z")

</div>

I’ve just noticed an issue with topics that contain a poll. This is on `3.3.0.beta4-dev (a30a861546)`. Many interactions break on what seems to be the entire topic for some topics. It seems to only happen if the topic contains a poll and the poll hasn’t been voted in by the viewing user. Some of the specific things I noticed:

- Polls do not have the button for the moderation menu that lets you do things like close the poll or export results
- The admin actions menu for posts doesn’t appear when the button is pressed
- The admin actions menu for the topic does appear, but doesn’t go away if you tried to open a post menu first
- Clicking on user profile pictures does nothing if you tried to open a post admin actions menu first

These issues all go away on topics without polls and if you disable the `poll enabled` site setting or enable [safe mode](https://meta.discourse.org/t/53504?silent=true) with `?safe_mode=no_plugins`. The following exception appears when loading the site:

```plaintext
Uncaught (in promise) TypeError: e[b].getValue(...) is not a function
    at Object.evaluate (runtime.js:1668:1)
    at Object.evaluate (runtime.js:1052:1)
    at It.evaluateSyscall (runtime.js:4204:1)
    at It.evaluateInner (runtime.js:4175:1)
    at It.evaluateOuter (runtime.js:4168:1)
    at Wt.next (runtime.js:4999:1)
    at Wt._execute (runtime.js:4986:1)
    at Wt.execute (runtime.js:4979:1)
    at Ut.handleException (runtime.js:4313:1)
    at Vt.handleException (runtime.js:4521:1)
    at Dt.throw (runtime.js:4260:1)
    at Ve.evaluate (runtime.js:2106:1)
    at Dt._execute (runtime.js:4247:1)
    at Dt.execute (runtime.js:4232:1)
    at qt.rerender (runtime.js:4547:1)
    at hr.render (index.js:4674:1)
    at index.js:4934:1
    at Nt (runtime.js:4080:1)
    at gr._renderRoots (index.js:4916:1)
    at gr._renderRootsTransaction (index.js:4960:1)
    at gr._revalidate (index.js:4992:1)
    at invoke (backburner.js.js:280:1)
    at h.flush (backburner.js.js:197:1)
    at p.flush (backburner.js.js:358:1)
    at B._end (backburner.js.js:798:1)
    at B.end (backburner.js.js:589:1)
    at B._run (backburner.js.js:842:1)
    at B._join (backburner.js.js:819:1)
    at B.join (backburner.js.js:629:1)
    at Array.<anonymous> (index.js:4765:1)
    at B._trigger (backburner.js.js:896:1)
    at B._end (backburner.js.js:811:1)
    at B._boundAutorunEnd (backburner.js.js:523:1)

```

---

_[View the full topic](https://meta.discourse.org/t/polls-causing-issues/315088)._
