Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,892
- Creating & Extending
- 25,913
- Requests & Feedback
- 9,553
- Third Party Plugins
- 9,834
- Showcase
- 3,316
- Ideas
- 1,404
- Miscellaneous
- 9,183
-
I can’t be sure without seeing your full code but going on the PHP warnings you are getting it looks like you are treating a string as an array.
Try replacing the 3 instances of $slug['slug'] with $slug