wp_roles interference between plugins
The problem is that sometimes with a combination of some plugins (firstly started with Acy Mailing)
- bbPress admin menu items disappear.
- Keymasters are able to access the pages but can’t reply.
- Participants can’t access the forum pages at all.
Acy Mailing did some investigation and it turned out that this issue comes out when bbPress is calling the function wp_roles. WordPress version 5.7.1
Here is their comment:
After some investigations and tests, it appears the issue is coming from the BBPress plugin.
In AcyMailing we are calling a WordPress core function (wp_roles) which gives the user roles.
AcyMailing is called before BBPress and this is what creates the issue. It seems that whenever an other plugin is calling this function before BBPress, its role system is not working properly and doesn’t give access to its content.
Whichever plugin who calls this WordPress function before them will create the problem.
As an example we created a test plugin which only call this function and does nothing else and it also prevent BBPress from working properly (I have attached this test plugin).
- You must be logged in to reply to this topic.