What happens to this error?
Fatal error: Cannot redeclare class WP_Taxonomy in /home/u410616819/public_html/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.wp-taxonomy.php on line 17
what should I do?
I found a bug with bbPress RC3 and BuddyPress. Tested with a fresh install using WordPress 4.8, and with only bbPress 2.6 RC3 and BuddyPress 2.8.2 activated. On the activity page the drop down box has duplicates. I’m running PHP 7.0.

I’m also having problems. I can no longer see the topics/replies to the forums. It’s just a blank screen? I am waiting to hear back from the website host re: which PHP version we are on.
In the meantime could you please clarify the file name in the bbpress plugin where I can change line 1851 and see if this can work.
Looking forward to your response in due course.
Thanks
Hey Guys,
I have installed BBPress 2.6 RC3 because my host upgraded PHP version to 7.1.6. I’m using WordPress 4.7.5.
The problem is that I cannot create forums anymore. The “save” / “Update” Button disappeared from the page along with the editor options. As you can see here:
http://prntscr.com/foxoun
Please, can you help me?
Best regards
Hello,
I am using WordPress 4.8 and bbPress 2.6-beta-2.
I had to do a batch import of topics from csv, and all went well enough. The only aspect I was unable to cover was the parent forum field. I have found my parent forum id and used a mysql command to insert the forum ID (which is 290 in this case) into all rows where post_excerpt meets a condition. This all worked. For reference here is the mysql command:
update wp_posts set post_parent=’290′ where post_excerpt=’CONDITION’;
The issue I’m having is that although post_parent displays the correct parent forum ID within the database, on the frontend of my site none of these topics register as having a parent forum. Under “Topics” they still all say “No Forum,” and they are not listed on the forum page. Funny enough, the breadcrumbs show the correct path when looking at the individual topics (i.e., PARENT FORUM >> POST_TITLE).
Any and all advice would be greatly appreciated. Thanks for your time.
next version of bbpress will fix this, but in the meantime
3 different fixes – either
1. downgrade to a lesser version of php
2. upgrade to bbpress 2.6 RC
3. in bbpress 2.5.12 go to /includes/forums/functions.php and change line 1851 from
$meta_query = $posts_query->get( ‘meta_query’ );
to
$meta_query = $posts_query->get( ‘meta_query’, array() );
Since the next upgrade will fix that anyway, no issue in changing the bbpress file
best I can offer I’m afraid
Just lost and regained forums on one of my sites. Host support wrote:
We had upgraded php to 7.1 earlier this week. It appears that BBPress may not currently be compatible with the latest PHP. We have rolled back to PHP 5.6 and the forums are working again. However, to make sure that all sites are working on the suggested standards set by the WordPress core team, we will be upgrading all instances to PHP 7.1 within the next two months. It is possible that BBPress may make updates improving the compatibility in that time, but it is never a bad idea to be proactive on that front.
So what’s the deal with BBPRess PHP version compatibility please?
Hi!
I want to integrate bbPress with my existing theme, but I’m worried about crash my theme by doing so. I don’t know if my theme is compatible with bbPress.
I have WordPress version 4.8
Regards
Terje
BBPress 2.5.12 WordPress 4.8
I’ve search high and low but haven’t been able to find any resolve to this. I’ve used different plugins to help with my problem but haven’t been able to get exactly what I want. I’ve made a screen-capture of what my problem is. Can someone with knowledge please tell me how to remove the html editor from showing below the visual editor? I want to see the html editor only when the text/html tab is clicked. It’s confusing with the html just below the visual editor like that. I’ve tried the display:none but it the html editor was also not showing when I clicked the text/html tab.
Widget issue in bbpress ( Version 2.6-rc-3 )
I have setup “Maximum topics to show: 3” on Recent topics, Recent replies
http://prntscr.com/fofhyb
But it doesn’t really work. it seems to display all.
http://prntscr.com/foffbz
I have just switched to v2.5.12 and tested. It works fine.
http://prntscr.com/fofj3j
I am not sure if it’s already reported or I have missed something.
BTW, Thank you for all of your work. I am so excited to use 2.6!
Can you please tell me when it should be released? maybe in a week?
Cheers!!
Hello,
i must edit the template from my last topics overview. Later it`s must show like:
Result
But now its look like: Now
I have add the bbpress.css to my theme and have chance some thinks (you can see, I have delete the counts, etc.). But I must add the big profile image (now I have only a very small picture who pixelated when I chance the size). Additionally I want to add the date and the time when the post are written and the first line of the content.
–> I think for this i must edit the template files.
Have you any idea which template file i must edit (I have tested some but without any result)?
Thanks for your help.
@casiepa Hi again, I don’t see an option to send you a private message but wanted to let you know I installed the plugin (thanks), but I’ve noticed it has altered the display of my subforums (removed the topic and voice counts, and made the font larger), even though I have not checked that option in the plugin settings.
Here’s the info from the plugin if it’s any help.
WP version 4.8
Theme Make (child theme) 1.1.0
PHP version 5.6.30
bbPress version 2.5.12-6148
site url (removed, on localhost XAMPP)
Active Plugins Name and Version
– p1 bbP Toolkit 1.0.10
– p2 bbP shortcodes 2.8
– p3 bbPress 2.5.12
– p4 BuddyPress 2.8.2
– p5 User Switching 1.0.9
– p6 WordPress Social Login 2.3.3
Thanks for all the info above. I’ve added the ‘bbPress-Topic-Subscribers’ plugin and that works great.
To try and do the same for forum subscriptions I’ve copied the files and changed all instances of ‘topic’ to ‘forum’, and it’s listing the users fine, but when you click the unsubscribe link nothing happens.
Looking at the code, I think it must be something in this section that is not right:
$forum_id = bbp_get_forum_id();
if ( $forum_id && current_user_can( 'moderate' ) ){
$subscribers = bbp_get_forum_subscribers( $forum_id );
if ( $subscribers ){
echo '<table style="width: 100%">';
foreach ( $subscribers as $subscriber ){
$subscriber = get_user_by( 'id', $subscriber );
echo '<tr>';
// avatar
echo get_avatar( $subscriber->ID, 45 );
echo ' ';
//username
echo $subscriber->user_login;
echo ' ';
// remove button
echo bbp_get_forum_subscription_link(
array(
'user_id' => $subscriber->ID
)
);
Specifically maybe the ‘bbp_get_forum_subscription_link’ area? Does anyone have any suggestions on why this wouldn’t work for forums in the same way as topics? Many thanks for any help you can give.
Here it is.
You hijacked topic a bit.
I still dont understand why you use bbPress as Blog/Posts tool when WordPress is made for this. Almost as you are not so good on theming, and looking for shortcuts.
– Make own image size
– Change “slider” to name of own image size.
– There is a class to center image, give it maybe some gray background for smaller featured mages. fix margins and paddings, etc…
function ntwb_bbpress_random_single_topic() {
global $post;
if ( has_post_thumbnail($post->ID) )
echo get_the_post_thumbnail($post->ID,'slider',array('class' => 'forum-topic-featured'));
}
// Hook into action
add_action('bbp_template_before_lead_topic','ntwb_bbpress_random_single_topic');
Hi,
I have created a plugin for adding polls into bbPress topics (front end editing from the topic form):
https://plugins.dev4press.com/gd-topic-polls/
If you want to test plugin (admin side and front end), you can request demo here:
https://www.dev4press.com/request-demo/
Regards,
Milan Petrovic
I don’t mean to ramble, but I think the solution will be something such as:
if (Am_Lite::getInstance()->haveSubscriptions(364) && ($reply_user_id($topic_id) ))
I just add bbpress statement to my already existing “if” statement using an “And” operator.
I’m just getting caught up on the bbpress part.
Any suggestions on what the bbpress code would be to “just show for the author of this reply?”
Thanks for any help.
I’ve got a simple “php if snippet” I’m trying to get into loop-single-reply.php.
Here is an example of my snippet (used for a seperate membership script):
<?php
require_once '/members/library/Am/Lite.php';
$user = Am_Lite::getInstance()->getUser();
?>
<?php
if (Am_Lite::getInstance()->haveSubscriptions(364))
{
?>
<span class='custom-user-donation-badge'>I've Donated!</span>
<?php
}
else {
// do the other thing
?>
<?php
}
?>
I need the code snippet to show only in the profile area of the reply author, if it applies to them.
In other words: “show this if it applies and only show if it applies to this specific reply author.”
I’ve used these before for something similar:
$reply_user_id = bbp_get_reply_author_id();
$reply_user = new WP_User( $reply_user_id )
I’m still leaning php and bbpress. Any suggestions on how I can wrap my code snippet with these bbpress statements? This way, my code snippet will only apply if it applies to the specific author.
Thanks for any suggestions.
Do you have author/avatar in replies too? Then there would be no need for users end point. Paging is huge. I’m using @mapofemergence API for paging currently.
I’ve now joined the #bbpress slack!
@coachhads, what version of bbPress/WordPress are you running ?
See this info –
bbp_topic_author_link
To display just the avatar linked to the member profile you would use:
<?php bbp_topic_author_link( array( 'sep' => '<br />', 'show_role' => false, 'type' => 'avatar' ) ); ?>
or for reply author’s:
<?php bbp_reply_author_link( array( 'sep' => '<br />', 'show_role' => false, 'type' => 'avatar' ) ); ?>
Hope that helps
1) Topic Type and Topic Status are only viewable to you/forum admins (aka keymasters), regular users do not see them
2) Wherever you add custom CSS (probably ‘Appearance > Customize’ in the admin menu’s), add this:
.bbp-forum-title {
font-size: 18px; /* make this size whatever you prefer */
}
3) This functionality isn’t built in to bbpress but you could add another plugin to make this happen. Here is an old topic that might provide some suggestions for you: https://bbpress.org/forums/topic/rating-and-sorting-plugin/
Hope that helps
Using latest BBpress, Buddypress and WP, and tested on a fresh install with WP default theme.
When viewing a member profile at http://localhost/mysitename/members/testuser/forums/replies/ there is no ‘in reply to:’ and link to the topic in the header of each reply. Just the date.
I thought perhaps it was theme related (I was using a child theme of the ‘Make’ theme) so have tested on fresh everthing, and it’s still happening.
I’ve created a new topic from the front end and the back end to see if that was related. I’ve used the forum tools to recalculate everything, I’ve ‘reset’ all forums and started again, still not there.
Can anyone else recreate this? Any suggestions? Am I misunderstanding something? Thanks
bbpress 2.6rc3
Importing vbulletin forum and running “Recalculate the position of each reply” give me a blank screen and this message in php.log
[25-Jun-2017 06:56:07 UTC] PHP Fatal error: Allowed memory size of 629145600 bytes exhausted (tried to allocate 126976 bytes) in /home/html/xxxx/public_html/testcms3/wp-includes/wp-db.php on line 1841
[25-Jun-2017 06:56:07 UTC] PHP Fatal error: Allowed memory size of 629145600 bytes exhausted (tried to allocate 65536 bytes) in /home/html/xxxxx/public_html/testcms3/wp-includes/functions.php on line 3720
[25-Jun-2017 06:56:07 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
I increased memory from 300M to 6G but still not enough. I have restarted several times but still not finished.
Wow am I so brain dead that I created that users end point on my own branch of your version 1.0.2 and don’t even remember? (just read previous posts and yes, apparently I did!) All I’m getting from that service is name and avatar, but that was because those were not in the latest topics or replies. If both of those had author name and avatar, I might have no need for a users endpoint unless one wanted to list posts or replies by user.
I’m very close to releasing a read-only version of my app. A day or two likely.
I just joined the WP slack but that’s way too busy and focused on wp core. I think a separate channel for bbPress or the api would be good.