on the front-end, they just fail quietly, but Add New on the Replies page in admin causes WordPress to fail. Trying to track down what could possibly cause this, because it feels really strange!
bbp style pack
once activated go to
dashboard>settings>bbp style pack>Breadcrumbs
I can only suggest the basic fault finding
viz :
it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentytwenty, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Health Check & Troubleshooting
Then come back
Pulling my hair out on this one – Forums and Topics work just fine in the admin and in the front-end. However, Replies totally crash the site – on the front-end, they just fail quietly, but Add New on the Replies page in admin causes WordPress to fail. Trying to track down what could possibly cause this, because it feels really strange!
Copying over the first 100 lines or so of the stack trace to see if ANYONE has any idea what could be causing this.
Error:
Xdebug has detected a possible infinite loop, and aborted your script with a stack depth of '1024' frames
at /www/kinsta/public/internationalmidwivesorg/wp-includes/class-wp-object-cache.php:141
at WP_Object_Cache->is_valid_key()
(/www/kinsta/public/internationalmidwivesorg/wp-includes/class-wp-object-cache.php:364)
at WP_Object_Cache->get()
(/www/kinsta/public/internationalmidwivesorg/wp-includes/cache.php:154)
at wp_cache_get()
(/www/kinsta/public/internationalmidwivesorg/wp-includes/class-wp-post.php:240)
at WP_Post::get_instance()
(/www/kinsta/public/internationalmidwivesorg/wp-includes/post.php:1036)
at get_post()
(/www/kinsta/public/internationalmidwivesorg/wp-includes/post.php:1495)
at get_post_type()
(/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/common/template.php:454)
at bbp_is_reply()
(/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/replies/template.php:544)
at bbp_get_reply_title_fallback()
(/www/kinsta/public/internationalmidwivesorg/wp-includes/class-wp-hook.php:324)
at WP_Hook->apply_filters()
(/www/kinsta/public/internationalmidwivesorg/wp-includes/plugin.php:205)
at apply_filters()
(/www/kinsta/public/internationalmidwivesorg/wp-includes/post-template.php:174)
at get_the_title()
(/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/topics/template.php:603)
at bbp_get_topic_title()
(/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/replies/template.php:1405)
at bbp_get_reply_topic_title()
(/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/replies/template.php:549)
at bbp_get_reply_title_fallback()
(/www/kinsta/public/internationalmidwivesorg/wp-includes/class-wp-hook.php:324)
at WP_Hook->apply_filters()
(/www/kinsta/public/internationalmidwivesorg/wp-includes/plugin.php:205)
at apply_filters()
(/www/kinsta/public/internationalmidwivesorg/wp-includes/post-template.php:174)
at get_the_title()
(/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/topics/template.php:603)
at bbp_get_topic_title()
(/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/replies/template.php:1405)
at bbp_get_reply_topic_title()
(/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/replies/template.php:549)
at bbp_get_reply_title_fallback()
(/www/kinsta/public/internationalmidwivesorg/wp-includes/class-wp-hook.php:324)
at WP_Hook->apply_filters()
(/www/kinsta/public/internationalmidwivesorg/wp-includes/plugin.php:205)
at apply_filters()
(/www/kinsta/public/internationalmidwivesorg/wp-includes/post-template.php:174)
at get_the_title()
(/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/topics/template.php:603)
at bbp_get_topic_title()
(/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/replies/template.php:1405)
at bbp_get_reply_topic_title()
(/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/replies/template.php:549)
at bbp_get_reply_title_fallback()
(/www/kinsta/public/internationalmidwivesorg/wp-includes/class-wp-hook.php:324)
at WP_Hook->apply_filters()
(/www/kinsta/public/internationalmidwivesorg/wp-includes/plugin.php:205)
at apply_filters()
(/www/kinsta/public/internationalmidwivesorg/wp-includes/post-template.php:174)
at get_the_title()
(/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/topics/template.php:603)
at bbp_get_topic_title()
(/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/replies/template.php:1405)
at bbp_get_reply_topic_title()
(/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/replies/template.php:549)
at bbp_get_reply_title_fallback()
(/www/kinsta/public/internationalmidwivesorg/wp-includes/class-wp-hook.php:324)
at WP_Hook->apply_filters()
(/www/kinsta/public/internationalmidwivesorg/wp-includes/plugin.php:205)
at apply_filters()
(/www/kinsta/public/internationalmidwivesorg/wp-includes/post-template.php:174)
at get_the_title()
(/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/topics/template.php:603)
at bbp_get_topic_title()
(/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/replies/template.php:1405)
at bbp_get_reply_topic_title()
(/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/replies/template.php:549)
at bbp_get_reply_title_fallback()
(/www/kinsta/public/internationalmidwivesorg/wp-includes/class-wp-hook.php:324)
at WP_Hook->apply_filters()
(/www/kinsta/public/internationalmidwivesorg/wp-includes/plugin.php:205)
at apply_filters()
(/www/kinsta/public/internationalmidwivesorg/wp-includes/post-template.php:174)
at get_the_title()
(/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/topics/template.php:603)
at bbp_get_topic_title()
(/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/replies/template.php:1405)
at bbp_get_reply_topic_title()
(/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/replies/template.php:549)
at bbp_get_reply_title_fallback()
(/www/kinsta/public/internationalmidwivesorg/wp-includes/class-wp-hook.php:324)
at WP_Hook->apply_filters()
(/www/kinsta/public/internationalmidwivesorg/wp-includes/plugin.php:205)
at apply_filters()
(/www/kinsta/public/internationalmidwivesorg/wp-includes/post-template.php:174)
at get_the_title()
(/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/topics/template.php:603)
at bbp_get_topic_title()
(/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/replies/template.php:1405)
ok it is probably a combination of plugins/theme, you’ll need to work out which.
Themes
As a test switch to a default theme such as twentytwenty, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Health Check & Troubleshooting
Then come back
while bbpress is active, when i log in to admin the side bar is missing, luckily i have the top bar. i deactivated bbpress and the problem goes away. so obviously this plugin causing it!.have the latest version of wordpress.
This lets you style and add features
bbp style pack
bbp style pack
once activated go to
dashboard>settings>bbp style pack>Subscription Emails
can you try adding
BP Classic
which has a compatibility link between buddypress 12 and bbpress.
Then come back and report
Hi @robin-w,
I’m using an FSE theme with compatibility turned on in bbp style pack, It’s called Lawson by ThemeZee.
I’m using:
WordPress 6.4.2
bbPress 2.6.9
BuddyPress 12.1.1
BuddyPress Multi Network 1.0.3
bbp style pack 5.8.0
Profile Builder 3.10.7
Profile Builder Elite 3.9.9
I’ve replied here with the steps I’ve taken: https://bbpress.trac.wordpress.org/ticket/3355#comment:23
Many Thanks,
Andy
OK, so it appears there’s a thread about the issue here: https://bbpress.trac.wordpress.org/ticket/3355#comment:4
I can’t get the fix to work but I’ll pick up on what to do next on there.
Thanks
If you are using one of new FSE themes, you need a fix to work with bbpress.
install
bbp style pack
once activated, navigate to
dashboard>settings>bbp style pack, and you should see the first tab called ‘Theme Support’ – if you don’t see this, come back.
In that tab, select
Enable Theme Support
and save
The forums should then display
so if you create a wordpress post (ie not in the forum) what date does it show?
you are using the flexiverse theme.
This is one of the new FSE themes, so you need a fix to work with bbpress.
install
bbp style pack
once activated, navigate to
dashboard>settings>bbp style pack, and you should see the first tab called ‘Theme Support’ – if you don’t see this, come back.
In that tab, select
Enable Theme Support
and save
The forums should then display
Wordpress version – Version 6.4.2
bb press version – Version 2.6.9
Home
After creating the forums and assigned topics to them, the topics do not display, just the forums, so i cant engage on the topics
they are correct that it has not been updated for a couple of years.
I am just a moderator here, and not a bbpress author.
The authors tend to release updates every few years, rather than more frequently.
My personal view is that you should consider bbpress to be a ‘mature’ product, ie any releases will be to fix issues rather than add functionality.
bbpress is written really well, and has loads of hooks. There are no show stopper bugs in it, it may throw a few deprecation notices (and these are very few at the moment), but WordPress recommends that you should not show error messages in live sites.
I currently have my test site running WordPress 6.4.x and php 8.2 with no issues.
The only major issue with bbpress at the moment is that it does not work well with FSE themes.
However my bbp style pack plugin has fixes for this
bbp style pack
as well as block versions of the widgets and a ton of styling and functionality add-ons.
All plugins are subject to the authors commitment, and bbpress is no different.
The main WordPress support forums use bbpress, and it would be mega work to move those over to some other product.
I think adding this additional plugin fixes
BP Classic
This is one of the new FSE themes, so you need a fix to work with bbpress.
install
bbp style pack
once activated, navigate to
dashboard>settings>bbp style pack, and you should see the first tab called ‘Theme Support’ – if you don’t see this, come back.
In that tab, select
Enable Theme Support
and save
The forums should then display
Hi Robin, I also noticed that on my staging site.
The Forum, which is available to members only shows the entry page. When you try to get into the forum, the elements do not show. My site is: https://tayfamilyhistg.wpenginepowered.com/forum/
I am using the Oxygen Builder WordPress plugin. When I switch back to a different theme it shows but I don’t understand why the forum is not showing with Oxygen Builder. I am using all the latest versions.
I am not a bbpress author, not a lot I can do.
bbpress is a WordPress project – suggest you write to Matt Mullenweg about why no-one is currently assigned to bbpress to keep it up to date.
matt@mullenweg.com cc: press@automattic.com.
the backend seems to only save one moderator.
This code should fix
add_action ('bbp_subscriptions_metabox' , 'rew_set_hidden_subscribers' ) ;
add_action ('bbp_topic_attributes_metabox_save' , 'rew_save_subscriptions', 10 , 2) ;
function rew_set_hidden_subscribers ($post) {
// Get user IDs
$user_ids = bbp_get_subscribers( $post->ID );
$list = implode(",",$user_ids);
// Output
?>
<input name="rew_topic_subscription" id="rew_topic_subscription" type="hidden" value="<?php echo $list; ?>" />
<?php
}
function rew_save_subscriptions ( $topic_id, $forum_id ) {
// Handle Subscriptions
if ( bbp_is_subscriptions_active() && ! empty( $_POST['rew_topic_subscription'] )) {
//update_option ($subscriptions)
$subscriptions = explode(",", $_POST['rew_topic_subscription']);
foreach ($subscriptions as $subscription_id ) {
// Check if subscribed and if so do nothing
if (bbp_is_user_subscribed( $subscription_id, $topic_id )) continue;
else {
bbp_add_user_subscription( $subscription_id, $topic_id );
}
}
}
}
Put this in your child theme’s function file –
ie wp-content/themes/%your-theme-name%/functions.php
where %your-theme-name% is the name of your theme
or use
Code Snippets
or if you use
bbp style pack
this fix is automatically added
We have many Forums and we wish to have different Moderators for specific forums. However, I do not see a way to limit the view so that a Moderator only see the Forums that they are responsible for. Is there a way to do this?
Currently we are setting the Moderator Role on the user record. I have been unable to set the Moderator on the Forum record (when I set it and save I get no error but it does not get saved). If I could set it on the Forum record would this limit the Forums that the Moderator would see?
WordPress Version: 6.4.2
bbPress Version: 2.6.9
Thank you!
Joseph
I forgot to mention. On setting up your forum before creating your app there is one plugin that is essential. (Thankyou Robin!) 🙂
bbp style pack
Here are all the plugins I am using.
bbp profile information Version 2.1.2 by Robin Wilson
bbPress Version 2.6.9 by The bbPress Contributors
bbP Signature Version 1.4 by Arjun S Kumar, Robin W
bbp style pack Version 5.7.8 by Robin Wilson
GD bbPress Attachments Version 4.6 by Milan Petrovic
Hide Admin Bar Based on User Roles Version 3.7.0 by Ankit Panchal
Import and export users and customers Version 1.25.1 by codection
LiteSpeed Cache Version 6.0.0.1 by LiteSpeed Technologies
Meow Lightbox Version 5.1.1 by Jordy Meow
reCaptcha by BestWebSoft Version 1.74 by BestWebSoft
Site Kit by Google Version 1.116.0 by Google
Smush Version 3.15.3 by WPMU DEV
Super RSS Reader Version 5.1 by Aakash Chakravarthy
WP Mail From II Version 2.0 by Ben Huson
WPMobile.App — Android and iOS Mobile Application Version 11.41 by WPMobile.App
WP User Avatars Version 1.4.1 by Triple J Software, Inc.
Yoast SEO Version 21.8 by Team Yoast
Updating this topic as I went ahead and used the WPMobile app with absolutely fantastic results.
I now have a fully functioning BBPress forum available on the G Play Store with push notifications etc etc. Very happy!
https://wordpress.org/support/plugin/wpappninja/reviews/
Highly recommendable for anyone with a BBPress forum!