Member directory not working for non-admin users
-
If the logged in user has the administrator role the member directory works fine. If I change the role of the user to be any other role, including a UM role I’ve created, the member directory does not work.
Digging a little deeper and looking at the browser console and network traffic I can see that when the user has the administrator role the AJAX response from the um_get_members call is the data that is expected. When the user does not have the administrator role, the AJAX call returns the HTML of the home page (as seen in the console).
Why does the member directory only work for admin users?
I’m running WP 5.7.2, UM 2.1.21 and have no caching plugin active.
- The topic ‘Member directory not working for non-admin users’ is closed to new replies.