I get the errors while enabling/disabling the components, I’m using the Buddypress newest version: 6.1.0
WordPress database error: [Multiple primary key defined]
ALTER TABLE wp_bp_activity CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
WordPress database error: [Multiple primary key defined]
ALTER TABLE wp_bp_activity_meta CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
WordPress database error: [Multiple primary key defined]
ALTER TABLE wp_bp_invitations CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
WordPress database error: [Multiple primary key defined]
ALTER TABLE wp_bp_notifications CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
WordPress database error: [Multiple primary key defined]
ALTER TABLE wp_bp_notifications_meta CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
WordPress database error: [Multiple primary key defined]
ALTER TABLE wp_bp_friends CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
WordPress database error: [Multiple primary key defined]
ALTER TABLE wp_bp_groups CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
WordPress database error: [Multiple primary key defined]
ALTER TABLE wp_bp_groups_members CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
WordPress database error: [Multiple primary key defined]
ALTER TABLE wp_bp_groups_groupmeta CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
WordPress database error: [Multiple primary key defined]
ALTER TABLE wp_bp_messages_messages CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
WordPress database error: [Multiple primary key defined]
ALTER TABLE wp_bp_messages_recipients CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
WordPress database error: [Multiple primary key defined]
ALTER TABLE wp_bp_messages_notices CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
WordPress database error: [Multiple primary key defined]
ALTER TABLE wp_bp_messages_meta CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
WordPress database error: [Multiple primary key defined]
ALTER TABLE wp_bp_xprofile_groups CHANGE COLUMN <code>id</code> id bigint(20) unsigned NOT NULL AUTO_INCREMENT PRIMARY KEY
WordPress database error: [Multiple primary key defined]
ALTER TABLE wp_bp_xprofile_fields CHANGE COLUMN <code>id</code> id bigint(20) unsigned NOT NULL AUTO_INCREMENT PRIMARY KEY
WordPress database error: [Multiple primary key defined]
ALTER TABLE wp_bp_xprofile_data CHANGE COLUMN <code>id</code> id bigint(20) unsigned NOT NULL AUTO_INCREMENT PRIMARY KEY
WordPress database error: [Multiple primary key defined]
ALTER TABLE wp_bp_xprofile_meta CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
WordPress database error: [Multiple primary key defined]
ALTER TABLE wp_bp_user_blogs CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
WordPress database error: [Multiple primary key defined]
ALTER TABLE wp_bp_user_blogs_blogmeta CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
Warning: Cannot modify header information - headers already sent by (output started at /home/xxx/workspace/wordpress/wp-includes/wp-db.php:1491) in /home/xxx/workspace/wordpress/wp-includes/pluggable.php on line 1281
Warning: Cannot modify header information - headers already sent by (output started at /home/xxx/workspace/wordpress/wp-includes/wp-db.php:1491) in /home/xxx/workspace/wordpress/wp-includes/pluggable.php on line 1284
Hi aeldri,
r-a-y showed me how to do it in this thread
I added a few lines that insert images in the header and footer of the template – line 189-192 and 215-221 and created the folders in my theme and uploaded the template file.
The problem with recipient name might be due to a typo in the e-mail templates. Check if a bracket ({) is missing ?
Hey Guys,
Wordpress version: 5.4.2
Buddypress Version: 6.1.0
(Themes and plugins are all up to date. All the buddy press features are working fine except the below two issue)
Yes I face the same issue with twenty, twenty themes.
Website URL: gooalgenie.com
Issue:
When we click on Groups and then click on groups tab >>>> it takes to particular group page >>> but there is no option for users to navigate back to my groups tab? How can we fix this.
Hey Guys,
Wordpress version: 5.4.2
Buddypress Version: 6.1.0
(Themes and plugins are all up to date. All the buddy press features are working fine except the below two issue)
Yes I face the same issue with twenty, twenty themes.
Website URL: gooalgenie.com
How to rename Home Tab in Groups tab
Issue:
How can we show all members tab and search Members under Friends tab.
Hey Guys,
Wordpress version: 5.4.2
Buddypress Version: 6.1.0
(Themes and plugins are all up to date. All the buddy press features are working fine except the below two issue)
Yes I face the same issue with twenty, twenty themes.
Website URL: gooalgenie.com
Issue:
How can we show all members tab and search Members under Friends tab.
We are using Total WordPress Theme with BuddyPress and everything is working well, except when I post a blog post… the post shows on my activity page with some initial shortcodes showing from Visual Composer…
[vc_row][vc_column][vc_column_text css=”.vc_custom_1595275549516{padding-bottom: 20px !important;}”]Saturn in Aquarius is the beginning of
I understood Visual Composer was compatible and not sure why the code is showing.
Any ideas? Thanks in advance.
You’re experiencing a redirect loop due to misconfigurations. If you enter the network tab in chrome’s developer tools (right click on the website page and click inspect element) on https://starcarding.com/members/ and click on a member hereafter, you’ll notice whats going on when the page is loading.
As a start, try going into the permalink settings in settings > permalinks in the wordpress dashboard, followed by pressing the button “save changes” in the bottom.
If this doesnt fix it, you could try restoring default .htaccess file.
Otherwise you might try deactivating your plugins one by one to see if it changes anything.
Query Monitor has detected a Database error – Deactivating Buddypress removes the error, deleting and reinstalling Buddypress does not solve / or create the table.
How do I fix this?
running latest php version / latest version of wordpress.
SELECT DISTINCT i.item_id
FROM wpni_bp_invitations i
WHERE user_id IN (1)
AND class IN ('bp_groups_invitation_manager')
AND type = 'invite'
AND invite_sent = 1
AND accepted = 0
Unknown
Unknown Table 'training_cpd.wpni_bp_invitations' doesn't exist qmdb
I have just tried to use the basic Twenty Twenty theme (even tried older WordPress Default themes) and disabled every plugin other than BuddyPress and I still get the same message.
Here is a screenshot:
https://vts.aginginplacenews.com/wp-content/uploads/2020/01/buddy_press_warning_issue_error_screenshot.png
If you fill out the form here: https://vts.aginginplacenews.com/register/
but try to leave without submitting the form, the popup appears.
Woops that is the old deprecated method, https://wordpress.org/support/article/roles-and-capabilities/ is the correct one. Table name wp_capabilities although they should still match each other.
The wp_usermeta table will show a wp_user_level which is documented https://codex.wordpress.org/User_Levels
You can check these fields to see if what you are seeing in the front end matches the backend.
If you are unable to change this through the front end it implies a plugin or some custom code is overriding, have you tried disabling all other plugins and re-enabling one by one to see which causes the problem.
After upgrading, I get an error about a blank line causing problems with the plugins for UpdraftPlus and Yoast SEO.
Updraft gives me this error “Warning: Your WordPress installation has a problem with outputting extra whitespace. This can corrupt backups that you download from here.”
Yoast gives me an error when I try to view my sitemap.xml file. “This page contains the following errors:
error on line 2 at column 6: XML declaration allowed only at the start of the document
Below is a rendering of the page up to the first error.”
I installed a plugin that disables everything, then I started turning plugins back on, and when I turned on Buddypress, the error started happening again.
Here is the article on the Yoast website that explains the plugin I used for troubleshooting.
How to check for plugin conflicts
Again this just started happening after I upgraded BuddyPress.
thank you!
[Solved] Just needed to put this code at the BOTTOM, not after define( ‘WP_DEBUG_DISPLAY’, false );
Here is my code:
@ini_set('display_errors','Off');
@ini_set('error_reporting', E_ALL );
define( 'WP_DEBUG', true );
// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
define( ‘WP_DEBUG_DISPLAY’, false );
/* That's all, stop editing! Happy publishing. */
/** Absolute path to the WordPress directory. */
if ( ! defined( 'ABSPATH' ) ) {
define( 'ABSPATH', dirname( __FILE__ ) . '/' );
}
/** Sets up WordPress vars and included files. */
require_once ABSPATH . 'wp-settings.php';
@ini_set('display_errors','Off');
@ini_set('error_reporting', E_ALL );
Hope this helps somebody.
Cheers, and thanks!
You can do that with PB PROFILE SEARCH PLUGIN Plugin url
@nffox contact you theme support, theme vendor have to remove Deprecated functions from theme
You can also disable error message using following codes inside the wp-config.php
Debugging in WordPress
// Disable display of errors and warnings
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );
@sunflowermom you can limit BP access by user roles using plugins like Paid Membership pro https://wordpress.org/plugins/pmpro-buddypress/
I have this site: https://prodicallearning.com/
When a user registers this site he gets an activation email with activation URL and key.
But when the user enters the key it shows Error: “COULD NOT CREATE USER”.
And when I try to register again with the same email it shows “Email Already exists”.
When I try to login by the same credentials it shows ” There is a problem with the username and password”.
When I again visit the activation page it shows user already activated. But the users are not listed anywhere.
Current WordPress version: 5.4.2
Buddypress version: 2.6.5
Theme using : WPLMS by Mr.Vibe
I don’t know what is happening with the site. I am really stuck at this. A quick response will be appreciated.
Have a good day.
Hey Guys,
Wordpress version: 5.4.2
Buddypress Version: 6.1.0
(Themes and plugins are all up to date. All the buddy press features are working fine except the below two issue)
Yes I face the same issue with twenty, twenty themes.
Website URL: gooalgenie.com
Issue
I am Facing the issue with Cover Image and Profile Pic looking Blur
Solution Tried did not affect:
Tried following Code for CSS:
#buddypress #item-header-cover-image #item-header-avatar img.avatar {
image-rendering: -moz-crisp-edges;
image-rendering: -o-crisp-edges;
image-rendering: -webkit-optimize-contrast;
image-rendering: crisp-edges;
-ms-interpolation-mode: nearest-neighbor;
}
#buddypress #header-cover-image {
image-rendering: -moz-crisp-edges;
image-rendering: -o-crisp-edges;
image-rendering: -webkit-optimize-contrast;
image-rendering: crisp-edges;
-ms-interpolation-mode: nearest-neighbor;
}
Even tried each Image rendering values but no luck.
image-rendering: auto;
image-rendering: crisp-edges;
image-rendering: pixelated;
/* Global values */
image-rendering: inherit;
image-rendering: initial;
image-rendering: unset;
WordPress: 5.4.2
BuddyPress: Version 6.1.0
Theme: Buddyapp
https://ecodominicana.com
Hello, I’m having a small issue, and can’t figure out how to fix it. Already read a lot of threads and documentation, but It seems I’m missing something.
Yesterday this error appeared:
PHP Deprecated: bp_before_xprofile_cover_image_settings_parse_args is deprecated since version 6.0.0! Use bp_before_members_cover_image_settings_parse_args instead. in /var/www/wptbox/wp-includes/functions.php on line 5088
And it appears only on profile pages, like this one:
https://ecodominicana.com/members/ecodominicana/profile
So I created a buddypress.css in my child theme’s CSS folder: wp-content\themes\buddyapp-child\buddypress\css
And added this code:
$theme_handle = 'bp-parent-css';
$settings['theme_handle'] = $theme_handle;
/**
* Then you'll probably also need to use your own callback function
* @see the previous snippet
*/
$settings['callback'] = 'bp_legacy_theme_cover_image';
return $settings;
}
add_filter( 'bp_before_xprofile_cover_image_settings_parse_args', 'your_theme_cover_image_css', 10, 1 );
add_filter( 'bp_before_groups_cover_image_settings_parse_args', 'your_theme_cover_image_css', 10, 1 );
Here is the the code in main functions.php
function kleo_load_files_plugin_compat() {
//enqueue child theme style only if activated
if ( is_child_theme() ) {
if ( is_rtl() ) {
wp_enqueue_style( 'kleo-rtl' );
}
wp_enqueue_style( 'kleo-style' );
}
Any help would be very appreciated. Sorry, I’m a noob in programming, we are a non-profit botanical project, so we can’t afford a programmer…😔
Hello,
My site is https://www.kidneylearninghub.com/. It is using the WPLMS plugin, which leverages BuddyPress for the login and user management.
After I updated the site with an SSL cert and domain, the login developed an issue where even though I have logged in with the correct user name and password, and the login cookie has been successfully created, the page does not update with the logged in user, and will not let you into the restricted content areas. Only after clicking around and trying many times will the site suddenly see the cookie and show you as logged in.
This screen shot shows that the cookie exists, but the site does not show a user logged in:
screen shot of cookie issue
I have been through extensive troubleshooting of the site. My database, config files and site files all use the fully qualified URL; my host (GoDaddy) is configured with the certificate and URL. I have added the site URLs to the wp_config file as suggested by dozens of tutorials. What would cause the site to create the cookie but then ignore it? This happens regardless of browser, and with and without Incognito or private browsing. As I understand it, the site uses BuddyPress to log in, and then hands that login off to WordPress. The WordPress login (available if you choose reset password) also has the same problem.
Any suggestion is appreciated.
Hey Team,
Really love your plugin with great Features and extension, forum solutions available.
Wordpress version: 5.4.2
Buddypress Version: 6.1.0
(Themes and plugins are all up to date. All the buddy press features are working fine except the below two issue)
Yes I face the same issue with twenty, twenty themes.
Website URL: gooalgenie.com
Issue URL: https://tinyurl.com/y43gqshz
Issue 1:
I am facing issue with Making Menu/Nav Tabs and Subnav Ajax (pages to load without loading the complete page) – How can I achieve the same?
I researched a lot on various buddy press forums but could not figure out the solution for the same. One of the solutions I tried:
https://buddypress.trac.wordpress.org/ticket/6507 – add the code provided here on bp-custom.php and even on themes functions.php file but made no effect.
Is there any other forum that I can try.
Note: I have bp-custom.php file in mu-plugins directory and in child theme childtheme/buddypress/members/single/group.php file.
Issue 2:
Avatar and cover images look blur whereas they look fine in media library.
Hello friends. I was unable to correct the error. When I allow users to register, emails don’t go out for them to activate with the code. I need them to activate their account through the email that is sent to them with the code. But this email never arrives. I have searched the whole wordpress and I have not achieved anything. Install WP Mail SMTP integrating with Gmail and it works, but Buddypress doesn’t work. Identify in “site health” this: https://prntscr.com/tiqdms
I hope to have your support.