I think I finally understand what is going wrong here. If you pass a bad group object to
bp_group_has_moderators()or don’t pass a group object and the global
$groups_template->groupisn’t set, this error can occur.
If you’ve had this problem, can you please respond telling me what theme you’re using? Furthermore, look in your theme where
If you’re up for helping to root out this problem, please add this debugging info as mentioned above:
We’re closing in on the problem, I think. One more debug addition, this time to bp-core/bp-core-cache.php:
Pastie is broken at the moment, but hopefully it’ll be back up soon.
Thanks for you h…[Read more]
The log-in page is a WordPress page. There is a guide on how to customize it:
The registration page is created by BuddyPress and can be modified in many ways. You’ll need to understand theme compatibility and overriding…[Read more]
Mail is complicated.
BP provides unsubscribe functionality, so you maybe don’t need to do that anymore. BP Email sends html emails when possible.
You might try filtering your messages in other ways. Have you read the “customizing emails” how-to? it includes an example of overriding the BP template so that the BP content is sent in your custom…[Read more]
I believe that there are conflicts between BP and Paid Memberships Pro. If you activate BP and deactivate Paid Memberships, does the page load?
What does your debug log say? https://codex.wordpress.org/Debugging_in_WordPress
No, we’ve not solved it, because most of us can’t recreate the issue. If you are comfortable doing some troubleshooting, please run the various
var_dumps and tracing code I’ve added further on up in this thread and let me know what you find. Or, grant me administrator access to your site via FTP for a short time when I’m able to dig…[Read more]
OK, maybe I could have administrator access to your site temporarily (or FTP access, whichever is easier for you)? You can find me on the buddypress channel in Slack, or email me at d_cavins76 [at] yahoo [dot] com.
Thanks again for your help troubleshooting. Can you add a couple of debug statements to the function
prime_group_admins_mods_cache()in the same class? It looks like the cache item
bp_group_modsis not being set properly; I’m trying to understand why that would be.
Debug lines added here:
@jeffwilliams-1 Not at all! If you’re feeling like chasing it down, give it a try. When your code change last time failed, it was probably because somewhere along the line, a
<was encoded for the web as & l t ; so make sure that the changes to the file look visually like
Unhappily, I’m not able to reproduce your problem on my servers. Can you test something for me in your environment where we know the problem exists? I’d like to know what the value of
$group_modsis before it’s passed to the
I’ve added a
var_dump()in this snippet:…[Read more]
In BuddyPress 2.7 we introduce some new features that specifically require template adjustment.
These changes are of importance for theme developers who may have overloaded the templates to the themes directory […]
Hi, you have to enable WP registration at Settings > General > Anyone Can Register:
David Cavins replied to the topic Is there a way to display BuddyPress profile on multiple pages? in the forum How-to & Troubleshooting 8 months, 3 weeks ago
Within the same site, you could write a short code that would render the profile. Outputting profile data is pretty straightforward: https://codex.buddypress.org/themes/guides/displaying-extended-profile-fields-on-member-profiles/
One another site, I’m less sure. You’d need BP API or similar, which we’re just now writing.
Check our…[Read more]
I really have no idea, but checking the code base, that error is thrown when a field type supports options (like a dropdown or checkbox set) and the data posted at save is unpopulated or is not an array. If you’re familiar with the developer tools in Firefox or Chrome, visit that page and submit the form, then see what the
$_POSTpayload looks…[Read more]
- Load More
@dcavins active 1 week, 4 days ago