# שגיאה בטעינת הקבוצה האישית בעת שימוש בתוסף allow pm to staff

**URL:** https://meta.discourse.org/t/error-loading-the-individual-group-when-using-allow-pm-to-staff-plugin/259800
**Category:** Support
**Created:** [29 במרץ,‏ 2023,‏ 5:44am UTC](https://meta.discourse.org/t/error-loading-the-individual-group-when-using-allow-pm-to-staff-plugin/259800 "2023-03-29T05:44:26Z")
**Posts on this page:** 19
**Page:** 1

<div class="post-metadata">

### Author: ![Kushalghosh9899](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kushalghosh9899/32/292844_2.png) [@Kushalghosh9899](https://meta.discourse.org/u/Kushalghosh9899)
#### Post date: [29 במרץ,‏ 2023,‏ 5:44am UTC](https://meta.discourse.org/t/error-loading-the-individual-group-when-using-allow-pm-to-staff-plugin/259800/1 "2023-03-29T05:44:26Z")

</div>

When I am going to the Groups page ([domain.com/g](http://domain.com/g)), it is fetching all the groups but when I try to enter into any particular group it is giving me the below error, this error is coming with all the groups

 ![image](https://global.discourse-cdn.com/meta/original/4X/c/9/4/c948ed6d8d9a34c01f6e6afe9b3e567b380cb115.png)

I am the owner of these groups and I have checked this from the normal user’s account too and these same errors is coming with this particular user type too.

 ![image](https://global.discourse-cdn.com/meta/original/4X/b/b/1/bb1facade6101c2a9d1c56664c71105806695dda.png)

Kindly help me to fix this issue.

---

<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: [29 במרץ,‏ 2023,‏ 6:16am UTC](https://meta.discourse.org/t/error-loading-the-individual-group-when-using-allow-pm-to-staff-plugin/259800/2 "2023-03-29T06:16:28Z")

</div>

Could you check your `\logs` or browser console when trying to access the group to see if there’s more detail about the error in there?

---

<div class="post-metadata">

### Author: ![Kushalghosh9899](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kushalghosh9899/32/292844_2.png) [@Kushalghosh9899](https://meta.discourse.org/u/Kushalghosh9899)
#### Post date: [29 במרץ,‏ 2023,‏ 6:20am UTC](https://meta.discourse.org/t/error-loading-the-individual-group-when-using-allow-pm-to-staff-plugin/259800/3 "2023-03-29T06:20:51Z")

</div>

Thank you for helping,

 ![image](https://global.discourse-cdn.com/meta/original/4X/d/a/f/dafe5222ba74a10a6908f18db44efee717d6f1b9.png)  
This is the errors getting on the browser console

---

<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: [29 במרץ,‏ 2023,‏ 10:15am UTC](https://meta.discourse.org/t/error-loading-the-individual-group-when-using-allow-pm-to-staff-plugin/259800/4 "2023-03-29T10:15:17Z")

</div>

Could you expand those errors and copy the message into a codeblock here?

---

<div class="post-metadata">

### Author: ![Kushalghosh9899](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kushalghosh9899/32/292844_2.png) [@Kushalghosh9899](https://meta.discourse.org/u/Kushalghosh9899)
#### Post date: [29 במרץ,‏ 2023,‏ 10:17am UTC](https://meta.discourse.org/t/error-loading-the-individual-group-when-using-allow-pm-to-staff-plugin/259800/5 "2023-03-29T10:17:06Z")

</div>

```plaintext
/groups/EPiC.json:1 Failed to load resource: the server responded with a status of 500 ()
application.js:83 Objectabort: ƒ (e)always: ƒ ()catch: ƒ (e)done: ƒ ()fail: ƒ ()length: 0name: "add"prototype: {constructor: ƒ}arguments: (...)caller: (...)[[FunctionLocation]]: jquery.js:3535[[Prototype]]: ƒ ()[[Scopes]]: Scopes[4]getAllResponseHeaders: ƒ ()getResponseHeader: ƒ (e)jqTextStatus: "error"overrideMimeType: ƒ (e)pipe: ƒ ()progress: ƒ ()promise: ƒ (e)readyState: 4requestedUrl: "/groups/EPiC.json"responseJSON: error: "Internal Server Error"status: 500[[Prototype]]: ObjectresponseText: "{\"status\":500,\"error\":\"Internal Server Error\"}"setRequestHeader: ƒ (e,t)state: ƒ ()status: 500statusCode: ƒ (e)statusText: "error"then: ƒ (t,n,i)[[Prototype]]: Object
error @ application.js:83
router.js:1064 Error while processing route: group.members
(anonymous) @ router.js:1064
rsvp.js:23 Uncaught ObjecterrorThrown: ""jqXHR: abort: ƒ (e)always: ƒ ()catch: ƒ (e)done: ƒ ()fail: ƒ ()getAllResponseHeaders: ƒ ()getResponseHeader: ƒ (e)jqTextStatus: "error"overrideMimeType: ƒ (e)pipe: ƒ ()progress: ƒ ()promise: ƒ (e)readyState: 4requestedUrl: "/groups/EPiC.json"responseJSON: error: "Internal Server Error"status: 500[[Prototype]]: Objectconstructor: ƒ Object()hasOwnProperty: ƒ hasOwnProperty()isPrototypeOf: ƒ isPrototypeOf()propertyIsEnumerable: ƒ propertyIsEnumerable()toLocaleString: ƒ toLocaleString()toString: ƒ toString()valueOf: ƒ valueOf() __defineGetter__ : ƒ __defineGetter__ () __defineSetter__ : ƒ __defineSetter__ () __lookupGetter__ : ƒ __lookupGetter__ () __lookupSetter__ : ƒ __lookupSetter__ () __proto__ : (...)get __proto__ : ƒ __proto__ ()set __proto__ : ƒ __proto__ ()responseText: "{\"status\":500,\"error\":\"Internal Server Error\"}"setRequestHeader: ƒ (e,t)state: ƒ ()status: 500statusCode: ƒ (e)length: 1name: "statusCode"prototype: {constructor: ƒ}arguments: (...)caller: (...)[[FunctionLocation]]: jquery.js:9487[[Prototype]]: ƒ ()[[Scopes]]: Scopes[4]statusText: "error"then: ƒ (t,n,i)[[Prototype]]: ObjecttextStatus: "error"[[Prototype]]: Object
DevTools failed to load source map: Could not load content for chrome-extension://gighmmpiobklfepjocnamgkkbiglidom/browser-polyfill.js.map: System error: net::ERR_FILE_NOT_FOUND
/message-bus/eb47113e4410479497a7f26dedf3819c/poll:1 Failed to load resource: net::ERR_QUIC_PROTOCOL_ERROR

```

---

<div class="post-metadata">

### Author: ![Kushalghosh9899](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kushalghosh9899/32/292844_2.png) [@Kushalghosh9899](https://meta.discourse.org/u/Kushalghosh9899)
#### Post date: [29 במרץ,‏ 2023,‏ 10:18am UTC](https://meta.discourse.org/t/error-loading-the-individual-group-when-using-allow-pm-to-staff-plugin/259800/6 "2023-03-29T10:18:41Z")

</div>

![image](https://global.discourse-cdn.com/meta/original/4X/7/3/7/737556bee24dd76d6e2209ad3bee641cbebf0f2b.png)

 ![image](https://global.discourse-cdn.com/meta/original/4X/0/3/5/035138f238eb1206d7e3a78cdacba83e31d2c3b5.png)

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [29 במרץ,‏ 2023,‏ 3:25pm UTC](https://meta.discourse.org/t/error-loading-the-individual-group-when-using-allow-pm-to-staff-plugin/259800/7 "2023-03-29T15:25:17Z")

</div>

Do you get the same errors using [safe mode](https://meta.discourse.org/t/53504?silent=true)?

---

<div class="post-metadata">

### Author: ![Kushalghosh9899](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kushalghosh9899/32/292844_2.png) [@Kushalghosh9899](https://meta.discourse.org/u/Kushalghosh9899)
#### Post date: [4 באפריל,‏ 2023,‏ 5:31am UTC](https://meta.discourse.org/t/error-loading-the-individual-group-when-using-allow-pm-to-staff-plugin/259800/8 "2023-04-04T05:31:46Z")

</div>

I tried [safe mode](https://meta.discourse.org/t/53504?silent=true) too but still getting the same error.

 ![image](https://global.discourse-cdn.com/meta/original/4X/2/2/d/22d6e2b6858477c292b2a59dafd4109771a9c39f.png)

Kindly help me to resolve this issue as soon as possible as this is getting really critical for us, no one is able to join any of the groups.

Note - I have upgraded all the plugins and my discourse is on latest version as of now.

---

<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: [5 באפריל,‏ 2023,‏ 7:12am UTC](https://meta.discourse.org/t/error-loading-the-individual-group-when-using-allow-pm-to-staff-plugin/259800/10 "2023-04-05T07:12:58Z")

</div>

I’m having trouble reproducing this on my test site. Do you have any non-official plugins on your site that may be having an effect? Or any other notable differences/quirks that I could try to see if I can replicate the issue?

---

<div class="post-metadata">

### Author: ![Kushalghosh9899](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kushalghosh9899/32/292844_2.png) [@Kushalghosh9899](https://meta.discourse.org/u/Kushalghosh9899)
#### Post date: [5 באפריל,‏ 2023,‏ 10:42am UTC](https://meta.discourse.org/t/error-loading-the-individual-group-when-using-allow-pm-to-staff-plugin/259800/11 "2023-04-05T10:42:42Z")

</div>

I am using these plugins only. I tried in [safe mode](https://meta.discourse.org/t/53504?silent=true) too and still getting those errors as in the [safe mode](https://meta.discourse.org/t/53504?silent=true) it disables all the plugins.  
Is there any thing more which is needed from my end to reproduce the error then please let me know.

 ![image](https://global.discourse-cdn.com/meta/original/4X/2/b/4/2b435e4187719e1323a7d66654423f888b6d81d3.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: [5 באפריל,‏ 2023,‏ 10:50am UTC](https://meta.discourse.org/t/error-loading-the-individual-group-when-using-allow-pm-to-staff-plugin/259800/12 "2023-04-05T10:50:31Z")

</div>

> [@Kushalghosh9899](#):
>
> I tried in [safe mode](https://meta.discourse.org/t/how-to-use-discourse-safe-mode/53504) too and still getting those errors as in the [safe mode](https://meta.discourse.org/t/how-to-use-discourse-safe-mode/53504) it disables all the plugins.

I’m afraid [safe mode](https://meta.discourse.org/t/53504?silent=true) only disables front-end code and not server-side stuff (which catches most things, but not everything) so it could still be a plugin. The most likely one is the allow-pms-to-staff as it’s the only non-official one in the list. You could try removing it from your `app.yml` and rebuilding to see if that is indeed causing the issue?

There was a report of it needing a fix for something else recently, though it may be unrelated:

> [@Problems changing the minimum trust level (PMs and Flags)](https://meta.discourse.org/t/problems-changing-the-minimum-trust-level-pms-and-flags/172627/11):
>
> Darn. Thanks for letting me know. The client I wrote it for doesn’t allow pms between users, so I neglected to test that case. I’ll try to get it fixed soon. If you have a budget, it could happen sooner.

---

<div class="post-metadata">

### Author: ![Kushalghosh9899](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kushalghosh9899/32/292844_2.png) [@Kushalghosh9899](https://meta.discourse.org/u/Kushalghosh9899)
#### Post date: [5 באפריל,‏ 2023,‏ 10:54am UTC](https://meta.discourse.org/t/error-loading-the-individual-group-when-using-allow-pm-to-staff-plugin/259800/13 "2023-04-05T10:54:42Z")

</div>

Ok let me try this too.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [5 באפריל,‏ 2023,‏ 11:33am UTC](https://meta.discourse.org/t/error-loading-the-individual-group-when-using-allow-pm-to-staff-plugin/259800/14 "2023-04-05T11:33:42Z")

</div>

Let me know if removing the plugin fixed the problem. I don’t see how the plugin would do that but I also see no other reason you’d have that problem.

---

<div class="post-metadata">

### Author: ![Kushalghosh9899](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kushalghosh9899/32/292844_2.png) [@Kushalghosh9899](https://meta.discourse.org/u/Kushalghosh9899)
#### Post date: [5 באפריל,‏ 2023,‏ 11:38am UTC](https://meta.discourse.org/t/error-loading-the-individual-group-when-using-allow-pm-to-staff-plugin/259800/15 "2023-04-05T11:38:50Z")

</div>

yes, you were right this plugin is causing the problem. After removing the plugin now it has started working.  
@pfaffman please kindly fix it as your plugin is very necessary for us.

---

<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: [6 באפריל,‏ 2023,‏ 12:17am UTC](https://meta.discourse.org/t/error-loading-the-individual-group-when-using-allow-pm-to-staff-plugin/259800/16 "2023-04-06T00:17:52Z")

</div>

Wait so this is a bug in the unofficial plugin [GitHub - pfaffman/discourse-allow-pm-to-staff: Allow private messages to be sent to staff for users who could otherwise not send private messages. · GitHub](https://github.com/pfaffman/discourse-allow-pm-to-staff)

Moving this to #Support

@pfaffman not seeing a topic for this plugin?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [7 באפריל,‏ 2023,‏ 2:53pm UTC](https://meta.discourse.org/t/error-loading-the-individual-group-when-using-allow-pm-to-staff-plugin/259800/17 "2023-04-07T14:53:25Z")

</div>

> [@sam](#):
>
> @pfaffman not seeing a topic for this plugin?

Indeed. I mentioned it offhandedly, not really expecting anyone to use it. 🤷

> [@Allow-pm-to-staff](https://meta.discourse.org/t/allow-pm-to-staff/260946):
>
> information_sourceSummary Allow all users to PM Staffhammer_and_wrenchRepository Link [https://github.com/pfaffman/discourse-allow-pm-to-staff](https://github.com/pfaffman/discourse-allow-pm-to-staff)open_bookInstall Guide [How to install plugins in Discourse](https://meta.discourse.org/t/install-plugins-in-discourse/19157)Features Allow users to send a PM to staff even if they would not otherwise be able to send a PM. Configuration allow\_pm\_to\_staff\_enabled–Enables the plugin (default true) allow\_pm\_allowed\_pm\_groups–Set groups who can receive PMs from all users (default “staff”). S…

---

<div class="post-metadata">

### Author: ![rahim123](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@rahim123](https://meta.discourse.org/u/rahim123)
#### Post date: [7 באפריל,‏ 2023,‏ 11:08pm UTC](https://meta.discourse.org/t/error-loading-the-individual-group-when-using-allow-pm-to-staff-plugin/259800/18 "2023-04-07T23:08:35Z")

</div>

> [@pfaffman](#):
>
> > [@sam](#):
> >
> > @pfaffman not seeing a topic for this plugin?
> 
> Indeed. I mentioned it offhandedly, not really expecting anyone to use it. 🤷
> 
> [GitHub - pfaffman/discourse-allow-pm-to-staff: Allow private messages to be sent to staff for users who could otherwise not send private messages. · GitHub](https://github.com/pfaffman/discourse-allow-pm-to-staff)

I really think this functionality should be in Discourse core, especially the ability for all active users to send a new PM to staff regardless of their trust level or PM rate limit. I’ve received many (public) reports from new level 0 users that were trying to contact me and couldn’t do so. And enabling general user-to-user PMs for level 0 users is a bad idea.

---

<div class="post-metadata">

### Author: ![Kushalghosh9899](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kushalghosh9899/32/292844_2.png) [@Kushalghosh9899](https://meta.discourse.org/u/Kushalghosh9899)
#### Post date: [10 באפריל,‏ 2023,‏ 9:35am UTC](https://meta.discourse.org/t/error-loading-the-individual-group-when-using-allow-pm-to-staff-plugin/259800/19 "2023-04-10T09:35:18Z")

</div>

Yes, the problem is fixed now after the latest changes in the plugin

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [10 במאי,‏ 2023,‏ 9:36am UTC](https://meta.discourse.org/t/error-loading-the-individual-group-when-using-allow-pm-to-staff-plugin/259800/20 "2023-05-10T09:36:06Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
