There was an error. Your site may not work properly. Caused by plugin 'discourse-whos-online'

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

2 лайка

Hey Geoffrey,

Is the plugin up to date?

The latest version is:
image

3 лайка

Yup! Looks like it:

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

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

2 лайка

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.

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

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

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.

2 лайка

This issue should be addressed by:

7 лайков

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