Forum Replies Created
-
In reply to: BuddyPress 12.0.0
About @lmstearn’s issue, I’ll work on it from this GH issue: https://github.com/buddypress/bp-classic/issues/34
In reply to: BuddyPress 12.0.0I’m sorry @legiosmoke I can’t reproduce this issue, everything works fine on my side. Have you tried deactivating completely BuddyPress then BP Classic to see it this was fixing the issue?
In reply to: BuddyPress 12.0.0This will be fixed in next minor version (12.1.0). The tool to reset slugs will now delete
buddypresspost types that are not used for directory pages. See: https://buddypress.trac.wordpress.org/changeset/13680For now you can look into your database
{wp_table_prefix}optionstable the value of the option name'bp-pages'to know thebuddypresspost type’s IDs that are used to display directories.In reply to: forum freshness not working in v12Hi sorry to read about this issue. bbPress is not ready for BuddyPress 12.0. You need to activate BP Classic:
In reply to: Error in buddypress code bp-menu bp-logout-navSo š . Thanks for sharing the error log. To me, deprecation notices cannot be the source of your troubles. For bbPress you need BP Classic as itās not ready for BP 12.0.0. I submitted a patch to their Trac env. but it has not been committed yet.
Even if BP Classic is active, your links are logging you out?
Thereās only 2 way to get this behavior, the links are containing the logout URL, or some code is redirecting the page after logging you out.
Next step would be to rollback to 11.4 to see if the bug has disappeared. But if itās the case Iād be surprised.
In reply to: Error in buddypress code bp-menu bp-logout-navIām sorry, Iām too afraid to break things: I never do that.
I wonder if it could be a malformed link
In reply to: Error in buddypress code bp-menu bp-logout-navOuch, it will probably generate a fatal, but maybe weāll get more information to trace which plugin is using this deprecated function.
In reply to: Error in buddypress code bp-menu bp-logout-navThis last one is more helpful. Are you sure BP Classic is active? Because if active BuddyPress shouldnāt add this depreciation notice.
What happens if you add this code to your wp-config.php?
define( 'BP_IGNORE_DEPRECATED', true );In reply to: Error in buddypress code bp-menu bp-logout-navI believe youāre looking in the wrong direction: if clicking on Notifications or Messages from the top right admin panel is logging you out, itās not a WP Nav Menu.
Have you tried clicking on these links being in WP Admin?
In reply to: Error in buddypress code bp-menu bp-logout-navIt was not logging you out with version 11.4.0 of BuddyPress?
Can you rollback to 11.4.0 keeping BP Classic active to see if that solves the issue?
Elementorās reply is amazing, considering the price you pay for support & the fact we canāt test on our side because itās a premium plugin and they can test on their side as BuddyPress is free. If it was out of their scope, Elementor wouldnāt conflict with BuddyPressā¦
In reply to: v12 removed bbcode buttons on reply boxAwesome, thanks a lot for your feedback š
In reply to: BuddyPress 12.0.0Slug constants were deprecated in version 1.5 of BuddyPress (more than 10 years ago). We decided to remove them from BuddyPress 12.0.0 as it’s now very easy to customize slugs.
Your error is interesting, if you look at it, you’ll see the theme
kleonow generates this error while it wasn’t when BP Classic wasn’t active. It meanskleois not ready for BuddyPress 12.0.0 because it wasn’t loading his specific code as it was trying to do so too early (BuddyPress objects are defined once theWP_Queryis parsed in 12.0.0, while it was a bit afterinitpreviously).So, I advise you to contact
kleoso that they update their outdated theme.
In the meantime, you can get rid of this error adding this to your wp-config.php file:define( 'BP_NOTIFICATIONS_SLUG', 'notifications' );In reply to: BuddyPress 12.0.0Hi @cheesy2k
Sorry to read about this issue. Itās difficult to figure it out. We made an important change in 12.0.0 & although we communicated a lot there might be some third party BP plugins not ready yet for 12.0.0. Thatās why we anticipated building this backcompat addon:
If you havenāt tried to activate it, I advise you to do so to see if that fixes the issue.
I also advise you to check your server error log file as it might contain some infos about whatās going wrong.
In reply to: Slugs with -2 after updateOk, I understand you donāt want to take the time to fix the issue. Itās really difficult to understand each other. Sorry to read my help is so annoying. If the table is not called
wp_posts, itās probably due to the custom table prefix you defined into your wp_config.php file. The code Iāve shared is a filter, thereās no way for it to fail, but you managed to! I donāt know how you pasted it. You donāt seem to read what Iām advising you to do and you donāt reply in an understandable way. If you donāt want to fix the issue, I advise you to look into this support reply to see how to roll back to 11.4.0: https://buddypress.org/support/topic/buddypress-12-0-0/page/4/#post-332388I wonāt annoy you anymore.
In reply to: how to edit register page for buddypress?Here’s a way to disable BuddyPress signup feature:
function disable_bp_signups() { add_filter( 'bp_get_signup_allowed', '__return_false' ); remove_filter( 'register_url', 'bp_get_signup_page' ); remove_action( 'bp_init', 'bp_core_wpsignup_redirect' ); remove_filter( 'wp_signup_location', 'bp_blogs_creation_location' ); remove_filter( 'wpmu_signup_user_notification', 'bp_core_activation_signup_user_notification', 1 ); } add_action( 'bp_include', 'disable_bp_signups' );In reply to: How To Delete Register PageHere’s a way to disable BuddyPress signup feature:
function disable_bp_signups() { add_filter( 'bp_get_signup_allowed', '__return_false' ); remove_filter( 'register_url', 'bp_get_signup_page' ); remove_action( 'bp_init', 'bp_core_wpsignup_redirect' ); remove_filter( 'wp_signup_location', 'bp_blogs_creation_location' ); remove_filter( 'wpmu_signup_user_notification', 'bp_core_activation_signup_user_notification', 1 ); } add_action( 'bp_include', 'disable_bp_signups' );In reply to: Slugs with -2 after updateHave you tried to temporarily add this code to the functions.php of your active theme?
remove_filter( 'wp_unique_post_slug', 'bp_core_set_unique_directory_page_slug', 10, 6 );And then did you go to the URLs tab of the BuddyPress settings and try to customize slugs again?
If so, using your tool to administrate your site’s database (eg: PHPMyAdmin), can you run this query:
SELECT id, post_type FROM wp_posts WHERE post_name LIKE "members%"In reply to: Slugs with -2 after updateSo you’re using BP version 12.0 on a regular site (not a multisite config), you activated, then deactivated BP Classic because it was no more needed. And now when you go into the URLs tab of the BuddyPress settings and tries to customize slugs, it adds a
-2suffix.Is it happening when these slugs are default BuddyPress ones only (eg:
activity,members) or is it happening even with these slugs: ‘activites’, ‘membres’ for example?If it’s only happening with BuddyPress default slugs: check there are no regular WordPress pages using the BP slugs.
Then try to use the Reset Slugs BuddyPress tools from the WP Admin tools menu.
If it didn’t fixed the issue, try to temporarily add this code to the functions.php of your active theme:
remove_filter( 'wp_unique_post_slug', 'bp_core_set_unique_directory_page_slug', 10, 6 );Go to the URLs tab of the BuddyPress settings and try to customize slugs again.
Then remove the custom code you added to the functions.php of your active theme.
In reply to: Error in buddypress code bp-menu bp-logout-navHi,
I just tested and I wasn’t able to reproduce, sorry. I don’t think it’s a BuddyPress problem. Have you tried to temporarily deactivate all plugins except BuddyPress to see if the issue was still there?
If so, maybe you can try to activate the BP Classic backwards compatibility plugin in case there’s a 3rd party BP plugin playing into this area.
In reply to: BuddyPress 12.0.0Something similar was reported earlier about the deprecation notice. I believe it’s due to a custom code or a theme:
See: https://buddypress.org/support/topic/buddypress-12-0-0/#post-332208
Which seems to help the reporter to fix it: https://buddypress.org/support/topic/buddypress-12-0-0/#post-332211About the main site being very slow, that’s weird. But I’ll check BP Classic with your specific config. You can try to see if only activating BP Classic on the subsite is making main site faster.
In reply to: BuddyPress 12.0.0For your info, I’ve started your config tests and I found a bug with slug customization:
https://buddypress.trac.wordpress.org/ticket/9048So I confirm there’s an issue. I’m working on it.
In reply to: Error in buddypress code bp-menu bp-logout-navHi @fasirathore
Thanks for your feedback, are you using BP version 12.0.0?
Can you check your error log file to see if something was traced in it?
Whatās your WordPress set up ? Multisite or not ? If Multisite is BuddyPress activated on the network ?In reply to: Slugs with -2 after updateSorry to read about it. Can you tell me a bit more about your config?
– regular or Multisite WordPress ?
– if Multisite how BuddyPress is activated ? Network widely, on the main site or on a subsite ?
– If activated network widely, are you using the constant to set the BP root site to be a subsite instead of main one?In reply to: BuddyPress 12.0.0Thanks a lot
1. So thereās an issue with this specific config in BuddyPress. The repair tool, as run from the network admin where site ID is 1 is not checking the right BP root site. Iāll work on it asap. To be honest: weāve tested a lot of configs, but I believe not the specific case where the BP root site is not the same than the network one. Sorry about it.
2. It looks like the fatal error is generated by the « onecommunityĀ Ā» theme. Moreover this theme or some 3rd party plugin(s) is(are) not ready for BP 12.0.0. I believe you need to activate the BP Classic Add-on network widely – like BuddyPress. (but letās keep on debugging doing step 3 before š)
3. Can you run this query:
SELECT id, post_type FROM wp_posts WHERE post_name LIKE "activity%"I feel the migrate routine wasnāt checking for the right site ID.4. Once you activated BP Classic, go to the Permalink setting of site 4 and simply save the permalink structure without changing the selected structure.
I need some time to fix this specific config for 12.0.0. I think it will be ok for the beginning of next year.
In reply to: BuddyPress 12.0.0Thanks for your feedback. Can you trace the critical error you got in your error log file?
Can you also run this select query to see the list of entries using the activity post name for example:
SELECT id, post_type FROM wp_{site_id}_posts WHERE post_name LIKE "activity%"Iād be curious to know the result of it.