Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,871
- Creating & Extending
- 25,903
- Requests & Feedback
- 9,548
- Third Party Plugins
- 9,832
- Showcase
- 3,316
- Ideas
- 1,402
- Miscellaneous
- 9,178
-
I can replicate your issue, yet I use the same line in my own plugins without error. The only difference is that I look for bp from within a function and I’m thinking this may be the issue, basically wp thinks bp is not active when you are in the plugins page.
Try wrapping your query in a function tied into your buddypress task.