update:
I updated buddypress version, and now receive this error:
POST https://thesapphiclibrary.com/wp-admin/admin-ajax.php 400
jquery.min.js?ver=3.6.1:2
hi all. When I go to click the + button to add a friend on my WP site, nothing happens at all. It was working yesterday, just not today. The only thing I did was remove my paid tier plans to have one free tier right now, and changes all those settings to allow everything.
When I go into the chrome console, I see that when I press the + button to add a friend, it returns me with a
Failed to load resource: the server responded with a status of 400 (). /wp-admin/admin-ajax.php/:1
This was never happening before, so not sure what to do! Any advice?
@officialmymilestonecard
I think you have a different issue – this is just an error appearing in debug logs, and certainly in my case it is not visually affecting anything I am aware of, maybe slowing the site down though. I would start a new thread if you haven’t already, and include any extra information you can to help others diagnose the problem, such as any errors in the console, debug logs, or any other info like which version of wordpress, theme etc. You might also want to try deactivating then reactivating Buddypress before all that to see if it helps.
Same issue I am experiencing, after installing buddypress Activity not working, can’t post anything new! What to do? Please help.
What about: BP_Groups_Group::group_exists( $group_slug )?
/**
* Get whether a group exists for a given slug.
*
* @since BuddyPress 1.6.0
*
* @param string $slug Slug to check.
* @param string|bool $table_name Deprecated.
* @return int|null Group ID if found; null if not.
*/
public static function group_exists( $slug, $table_name = false ) {
global $wpdb;
if ( empty( $slug ) ) {
return false;
}
$args = array(
'slug' => $slug,
'per_page' => 1,
'page' => 1,
'update_meta_cache' => false,
'show_hidden' => true,
);
$groups = self::get( $args );
$group_id = null;
if ( $groups['groups'] ) {
$group_id = current( $groups['groups'] )->id;
}
return $group_id;
}
class-bp-groups-group.php line 715
Hello, my WP version is 6.1.1 my BuddyPress version is 11.0.0
I used the Theme https://themeforest.net/item/armadon-gaming-community-wordpress-theme/27957394?gclid=Cj0KCQiAiJSeBhCCARIsAHnAzT_68l6iD7qmpDX1_KFM-VnNqRGmsOrPpQ1dfq7xAjjg6jMI0PdAUDkaAlK0EALw_wcB
I get this issue when users attempt to log in into my website they get the message “Method not Allowed” and I can’t seem to be able to fix it
Hello, there is a bug with the last version of buddypress on my website. I can use profil banner image, because it does not appear when uploaded.
After downgrade, everything works normally.
I tried the latest version disabling all the other plugins but that didn’t solve the problem.
The only solution I currently have is to downgrade.
Me5rine
I would like to add my name to this list but I am only getting the line 1577 error. I am wondering if it might be related to either or both of the following things – I have Better Messages plugin installed and I am running PHP version 8.1. Can the other two who have posted say if they have one or both of these things? There might be a common denominator. I am running the most recent updates of WordPress and of course Buddypress.
I am using the following:
WP Version: 6.1.1
Permalink: /%postname%/
Active Theme: BuddyX 4.4.5
Platform: Windows
Browser Name Chrome
PHP Version: 8.0.7
MySQL Version: 5.5.5
The plugins I have are these:
Activity Plus Reloaded for BuddyPress 1.0.8
Akismet Anti-Spam 5.0.2
BP Friends Suggestions Widget 1.1.0
BP Profile Search 5.4.7
BuddyPress 11.0.0
BuddyPress Activity ShortCode 1.1.8
BuddyPress Extended Friendship Request 1.2.1
BuddyPress Global Search 1.2.1
BuddyPress Login Redirect to Profile 1.2.3
BuddyPress Profile Completion 1.0.8
BuddyPress Simple Terms And Conditions 1.3
BuddyPress Xprofile Custom Field Types 1.2.5
Classic Editor 1.6.2
Classic Widgets 0.3
Colorlib Login Customizer 1.3.1
CookieYes | GDPR Cookie Consent 3.0.8
Custom Font Uploader 2.0.0
Duplicator 1.5.1
Easy Registration Forms 2.1.1
Force Login 5.6.3
GEO my WP 3.7.2.1
Kirki Customizer Framework 4.0.24
Quick and Easy FAQs 1.3.6
Shared Counts 1.4.1
Verified Member for BuddyPress 1.2.6
Wbcom Designs – BuddyPress Member Reviews 2.8.3
WordPress Username Availability Checker 1.1.8
I have configured a new Register page using ERForms. I’ve created just a wordpress page which has only a shortcode to the ERform.
I’ve set it at buddypress settings-> Pages -> register. Buddypress is redirecting to the wordpress regitration page instead of my page.
I’ve also changed the redirection at buddypress setting to whatever page (for example my FAQ page) and always redirects to the wordpress registration page.
I’ve tried also deactivating all plugin but buddypress and ERforms and no, buddypress is always redriecting to the standard wordpress registration page instead of what I am setting.
Any hint / idea what to cope this problem?
Thnks in advance
Anonymous User 18187419Inactive
Try this.
Add code to functions.php or use Code Snippets plugin (easier)
function rename_rtmedia_profile_tab() {
buddypress()->members->nav->edit_nav( array( 'name' => __( 'Photos', 'textdomain' ) ), 'media' );
}
add_action( 'bp_actions', 'rename_rtmedia_profile_tab' );
I am seeing the same, plus a similar message. Please advise – thank you!
Warning: array_filter() expects parameter 1 to be array, bool given in /home/chicagoeft/public_html/wp-content/plugins/buddypress/bp-activity/bp-activity-template.php on line 3580
Warning: array_filter() expects parameter 1 to be array, bool given in /home/chicagoeft/public_html/wp-content/plugins/buddypress/bp-messages/bp-messages-template.php on line 1577
Error After Installing BuddyPress Update 11.0.0
Hi, after installing update buddypress 11.0.0 I have an error in the first view of users: “Warning: array_filter() expects parameter 1 to be array, bool given in /home/customer/www/staging43.fantamily.it/public_html/wp-content/plugins/buddypress/bp-messages/bp-messages-template.php on line 1577″…
Is it possible to fix the problem? Thank you all
I have a wp site with buddypress registration, and on the registration page the form has the ‘Account Details’ section, with the username, email, password & confirm password. Then it also has the buddypress profile section, with the fields name, birthday, etc etc. I don’t want the persons Name to be visible to the public. I can manage all the other profile fields visibility except for the default Name field and it is driving me crazy! Not sure if anyone has has this problem. please let me know.
I haven’t used BuddyBuilder but after looking at their offering I would guess that you are correct that this plugin is the culprit. It looks like they provide some other templating system to replace some of the standard BuddyPress pages and provide an entire authentication process. I think the first course of action should be to work with them to fix the problem. I mean they offer this entire solution so I’m assuming it does work! Also, did you try disabling this plugin?
Anyway, when I go to Settings>BuddyPress>Pages, I have these 4:
Activate, Activity, Members, & Register.
There may be more or less depending on features you’ve enabled. Activate, Activity, and Members are all blank pages, while Register uses the shortcode ‘[bbp-register]‘ (its actually a bbPress page). You should be able to at least create these 3 blank pages and assign them on that settings page.
Here’s another post about missing pages: https://buddypress.org/support/topic/how-to-create-login-and-register-pages/
Moderator shanebp says “BP does not handle a login page.” Here again I have a page with a bbPress shortcode ‘[bbp-login]‘. So basically it looks like login and registration need to be handled by some other plugin or theme.
There are hooks that can be used to modify these pages, but full control over content and styling would probably require a theme, plugin, or custom page templates. I tried Elementor with BuddyPress but quickly found that Elementor was making the process too complicated. TBH I think Elementor gets in they way more than it helps. I ended up using Blocksy and Stackable.
Hi Team,
Im running buddypress with a few addons and I think one of them broke it so that the standard pages, which I had modified are now gone and I cannot for the life of me restore them. Even did a backup to localhost, exported them and tried importing them, but they come in empty.
I am running Buddypress, Buddybuilder (I think this broke the pages as the plugin only half works), Gamipress & Geodirectory & Buddycommerce integration, buddypress featured members.
Anyway, how do I get those standard pages back? and better, how can I edit them to make them look nicer with elementor?
Hi @philippklaschka
Thanks for your report, this issue seems to be caused by this plugin https://github.com/projectestac/wordpress-invite-anyone/ It hooks to bp_core_install_emails to run the function ass_install_emails that does not exist see: https://github.com/projectestac/wordpress-invite-anyone/blob/master/by-email/by-email.php#L1710
I advise you to deactivate this plugin, update BuddyPress and then reactivate this plugin once done. The bp_core_install_emails hook is only fired by BuddyPress when you install/upgrade and use the tool to reinstall emails, so it should be ok. But I strongly advise you to contact the plugin author so that he fixes this issue.
Hi @netmanuth
Thanks for your report, I’ll check BuddyX, but I doubt issue is with this theme.
tried 3 times to update and every time it blows up my backend with this fatal error. Have to roll back all plugins via database and reactivate all just to roll back this patch.
Can someone decipher whats going on here?
Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function “ass_install_emails” not found or invalid function name in /homepages/17/d4296816486/htdocs/wordpress/wp-includes/class-wp-hook.php:308 Stack trace: #0 /homepages/17/d4296816486/htdocs/wordpress/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #1 /homepages/17/d4296816486/htdocs/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #2 /homepages/17/d4296816486/htdocs/wordpress/wp-content/plugins/buddypress/bp-core/admin/bp-core-admin-schema.php(555): do_action(‘bp_core_install…’) #3 /homepages/17/d4296816486/htdocs/wordpress/wp-content/plugins/buddypress/bp-core/bp-core-update.php(770): bp_core_install_emails() #4 /homepages/17/d4296816486/htdocs/wordpress/wp-content/plugins/buddypress/bp-core/bp-core-update.php(291): bp_update_to_11_0() #5 /homepages/17/d4296816486/htdocs/wordpress/wp-content/plugins/buddypress/bp-core/bp-core-update.php(159): bp_version_updater() #6 /homepages/17/d4296816486/htdocs/wordpress/wp-includes/class-wp-hook.php(308): bp_setup_updater(”) #7 /homepages/17/d4296816486/htdocs/wordpress/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #8 /homepages/17/d4296816486/htdocs/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #9 /homepages/17/d4296816486/htdocs/wordpress/wp-content/plugins/buddypress/bp-core/admin/bp-core-admin-actions.php(120): do_action(‘bp_admin_init’) #10 /homepages/17/d4296816486/htdocs/wordpress/wp-includes/class-wp-hook.php(308): bp_admin_init(”) #11 /homepages/17/d4296816486/htdocs/wordpress/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #12 /homepages/17/d4296816486/htdocs/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #13 /homepages/17/d4296816486/htdocs/wordpress/wp-admin/admin.php(175): do_action(‘admin_init’) #14 /homepages/17/d4296816486/htdocs/wordpress/wp-admin/plugins.php(10): require_once(‘/homepages/17/d…’) #15 {main} thrown in /homepages/17/d4296816486/htdocs/wordpress/wp-includes/class-wp-hook.php on line 308
On the registration page for my wp site, the registration form has the ‘Account Details’ section, with the username, email, password & confirm password. Then it also has the buddypress profile section, with the fields name, birthday, etc etc.
I don’t want the persons name to be visible to the public, I want it to only be visible to the admins. I tried to go into Users->Profile Fields and change the ‘Name’, but it doesn’t give any options as I guess that’s the base / built in field? Not sure how to fix this, but it is super annoying!
Could someone share advice on how to fix?
Thanks for your answer, @fawp.
I do have account settings component enabled, and I also checked in the Twenty twenty two theme, and I don’t see the possibility to change email in the Buddypress settings.
@adjunkten
Hi Lars,
I can’t speak for the BuddyX theme but, in general, in BuddyPress settings, if you have the ‘Account Settings’ component enabled, your users should be able to change their email address directly within their BuddyPress profile (BuddyPress profile, Settings tab, General sub tab).
Hello
I use the BuddyX theme, and hide the WordPress menu for my users.
Is there any way to let users change email via the Buddypress user menu?
Thanks,
Lars
Try using invite code plugin for buddypress.
Is the user addition not working in WP admin as well ? check if there is any possible javascript error on wp admin page.
WPLMS has its own good interface for adding users in groups via rest API.
re-save the WP admin – Settings – BuddyPress – Components, so that groups tables and folder structure is installed and setup.
Please share more details on this.
Also, re-save components in WP admin-settings-buddypress – components , doing this would setup any missing tables and folder structure.