Skip to:

Members List and Private Messaging Not Working for Certain Role

  • alexwp2019



    I’m building a website using buddypress and bbpress.

    When users register for an account the default roles they are assigned are “Contributor” and “Participant”.

    These users at the moment cannot view members in the members list and send private messages.

    For the members list I believe the js / ajax is not working for the “Contributor” role for some reason (it loads fine for all other users and for non logged in users).

    When viewing the members list as a contributor the members do not load and I receive a js error in the developer console reading “Cannot read property ‘contents’ of undefined”.

    There must be an issue specifically for that user role, could there be a permissions issue?

    For private messaging the messages simply won’t send. I’ve checked the ajax in the console and it return 200 so i’m not sure what the issue is. I’m also using user role editor and I’ve checked and “Contributors” can send messages so I’m a bit stuck with this one.

    I’ve also tried changing the bbpress role which as expected had no effect.

    Thanks in advance for any help.

    I’m happy to go into more detail if needed but not willing to give out the sites URL.

Viewing 3 replies - 1 through 3 (of 3 total)

  • Venutius


    Have you tried deactivating all other plugins and using a default theme such as 2017?



    Sorry to be awkward but that’s not really possible for me at this stage.

    I don’t believe that any plugins I have active would cause any issues.

    I know that’s not particularly helpful for you however, if any “obvious” issues from my description come to mind please let me know.




    It OK I’ve sorted it now.

    I was restricting admin access to “Contributors” little knowing that by doing this it was making admin ajax not work, which subsequently caused the members list and private messaging not to work.

    I’ve now restricted access to the admin area but allowed the admin ajax to continue to work.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar