# Er was een fout. Uw site werkt mogelijk niet correct. Veroorzaakt door plugin 'discourse-whos-online'

**URL:** https://meta.discourse.org/t/there-was-an-error-your-site-may-not-work-properly-caused-by-plugin-discourse-whos-online/348251
**Category:** Bug
**Tags:** whos-online
**Created:** [21 januari 2025 om 19:49 UTC](https://meta.discourse.org/t/there-was-an-error-your-site-may-not-work-properly-caused-by-plugin-discourse-whos-online/348251 "2025-01-21T19:49:24Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Geoffrey\_Challen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/geoffrey_challen/32/119637_2.png) [@Geoffrey\_Challen](https://meta.discourse.org/u/Geoffrey_Challen)
#### Post date: [21 januari 2025 om 19:49 UTC](https://meta.discourse.org/t/there-was-an-error-your-site-may-not-work-properly-caused-by-plugin-discourse-whos-online/348251/1 "2025-01-21T19:49:24Z")

</div>

![The image shows an error message indicating that a site may not work properly, caused by a plugin named 'discourse-whois-online,' and is visible only to site administrators. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/8/2/c/82cc13eb8a5e8cadbf8b15fe7041e6abd9ac2dcc.png)

Just started seeing this recently. On 3.4.0.beta4-dev, and have been updating dilligently. Any idea where I should look for trouble?

---

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [21 januari 2025 om 20:19 UTC](https://meta.discourse.org/t/there-was-an-error-your-site-may-not-work-properly-caused-by-plugin-discourse-whos-online/348251/2 "2025-01-21T20:19:50Z")

</div>

Hey Geoffrey,

Is the plugin up to date?

The latest version is:  
 ![image](https://global.discourse-cdn.com/meta/original/4X/7/2/3/723cf4f611c18297708a1a51f57a9f1e082b3200.png)

---

<div class="post-metadata">

### Author: ![Geoffrey\_Challen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/geoffrey_challen/32/119637_2.png) [@Geoffrey\_Challen](https://meta.discourse.org/u/Geoffrey_Challen)
#### Post date: [21 januari 2025 om 20:25 UTC](https://meta.discourse.org/t/there-was-an-error-your-site-may-not-work-properly-caused-by-plugin-discourse-whos-online/348251/3 "2025-01-21T20:25:51Z")

</div>

Yup! Looks like it:

 ![The image shows a "Who's Online" feature from a Discord, which displays a list of online users and their usernames, with an option to learn more about it and an update button labeled "Up to date." (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/c/9/9/c99a76a99f9b3dfe5f3b9bf0af68700f7a7c3d76.png)

---

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [21 januari 2025 om 20:51 UTC](https://meta.discourse.org/t/there-was-an-error-your-site-may-not-work-properly-caused-by-plugin-discourse-whos-online/348251/4 "2025-01-21T20:51:47Z")

</div>

Do you see any error in the browser’s console?

I can’t reproduce it on a local dev and production instance. 🤔

---

<div class="post-metadata">

### Author: ![Geoffrey\_Challen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/geoffrey_challen/32/119637_2.png) [@Geoffrey\_Challen](https://meta.discourse.org/u/Geoffrey_Challen)
#### Post date: [21 januari 2025 om 20:53 UTC](https://meta.discourse.org/t/there-was-an-error-your-site-may-not-work-properly-caused-by-plugin-discourse-whos-online/348251/5 "2025-01-21T20:53:32Z")

</div>

Good idea! I’ll take a look next time I see it. It seems to happen sporadically. I looked at the backend logs and nothing jumped out at me…

As a suggestion, given that this message is only shown to administrators, it might be helpful if it provided more details about the problem, assuming that whatever is generating it in fact has more details. It’s already taking up a fair bit of screen real estate for a “something’s wrong” message.

---

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [21 januari 2025 om 23:50 UTC](https://meta.discourse.org/t/there-was-an-error-your-site-may-not-work-properly-caused-by-plugin-discourse-whos-online/348251/6 "2025-01-21T23:50:37Z")

</div>

I can’t reproduce on a clean production instance, but I do see an error on a dev instance:

 ![The image shows an error message indicating an uncaught in-prostraint revaluation failure, attributed to the direct use of 'et' on a pre-defined object, in an application called 'DiscourseTopic', with a detailed stack trace detailing the locations of the error in the code. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/0/0/7/007f6cb20e538a5a3a613cf16f62c6d8ca4db183.png)

[https://github.com/discourse/discourse-whos-online/blob/main/assets/javascripts/discourse/api-initializers/intitialize-whos-online-indicators.js#L76](https://github.com/discourse/discourse-whos-online/blob/main/assets/javascripts/discourse/api-initializers/intitialize-whos-online-indicators.js#L76)

> <https://github.com/discourse/discourse-whos-online/blob/main/assets/javascripts/discourse/services/whos-online.js#L19>

Retrieving the service outside the transformer seems to fix the issue.

Related to [DEV: Upgrade to the Glimmer topic list by megothss · Pull Request #117 · discourse/discourse-whos-online · GitHub](https://github.com/discourse/discourse-whos-online/pull/117).

---

<div class="post-metadata">

### Author: ![saquetim](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/saquetim/32/116400_2.png) [@saquetim](https://meta.discourse.org/u/saquetim)
#### Post date: [23 januari 2025 om 01:54 UTC](https://meta.discourse.org/t/there-was-an-error-your-site-may-not-work-properly-caused-by-plugin-discourse-whos-online/348251/7 "2025-01-23T01:54:58Z")

</div>

This issue should be addressed by:

[https://github.com/discourse/discourse-whos-online/pull/118](https://github.com/discourse/discourse-whos-online/pull/118)

---

<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: [26 januari 2025 om 21:00 UTC](https://meta.discourse.org/t/there-was-an-error-your-site-may-not-work-properly-caused-by-plugin-discourse-whos-online/348251/8 "2025-01-26T21:00:34Z")

</div>

This topic was automatically closed after 2 days. New replies are no longer allowed.
