ok, it is a function in your child theme’s function file – line 28
Call to undefined function is_bbpress() in /home/storm/sites/wbc1-otiscreative-co-uk/public/wp-content/themes/Divi-Child-Theme/functions.php:28
So who had created that file? as either they or you will need to amend whatever that part of the file is trying to do.
Hi Robin,
Thanks for sticking with me here. I have error logs on the server so I tried again to disable bbpress and below is the log. I disabled and deleted Divi Mega Pro as I realised I didn’t use that in the end but it didn’t solve it.
Let me know what you think.
Thanks,
Ollie
[Wed Feb 02 08:22:26.842483 2022] [proxy_fcgi:error] [pid 3110766] [client 2a00:23c6:6f4f:d001:20eb:9d22:835a:c06c:0] AH01071: Got error ‘PHP message: PHP Warning: Undefined variable $force in /home/storm/sites/wbc1-otiscreative-co-uk/public/wp-content/plugins/divi-mega-pro/class.divi-mega-pro.admin.core.php on line 208’, referer: https://wbc1.otiscreative.co.uk/wp-admin/plugins.php
[Wed Feb 02 08:22:33.374828 2022] [proxy_fcgi:error] [pid 3109704] [client 2a00:23c6:6f4f:d001:20eb:9d22:835a:c06c:0] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to undefined function is_bbpress() in /home/storm/sites/wbc1-otiscreative-co-uk/public/wp-content/themes/Divi-Child-Theme/functions.php:28\nStack trace:\n#0 /home/storm/sites/wbc1-otiscreative-co-uk/public/wp-includes/class-wp-hook.php(309): modify_body_classes()\n#1 /home/storm/sites/wbc1-otiscreative-co-uk/public/wp-includes/plugin.php(189): WP_Hook->apply_filters()\n#2 /home/storm/sites/wbc1-otiscreative-co-uk/public/wp-includes/post-template.php(836): apply_filters()\n#3 /home/storm/sites/wbc1-otiscreative-co-uk/public/wp-includes/post-template.php(595): get_body_class()\n#4 /home/storm/sites/wbc1-otiscreative-co-uk/public/wp-content/themes/Divi/header.php(29): body_class()\n#5 /home/storm/sites/wbc1-otiscreative-co-uk/public/wp-includes/template.php(770): require_once(‘…’)\n#6 /home/storm/sites/wbc1-otiscreative-co-uk/public/wp-includes/template.php(716): load_template()\n#7 /home/storm/sites/wbc1-otiscreative-co-uk/public/wp-content/themes/Divi/in…’, referer: https://wbc1.otiscreative.co.uk/wp-admin/plugins.php?plugin_status=all&paged=1&s
[Wed Feb 02 08:22:38.838643 2022] [proxy_fcgi:error] [pid 3133583] [client 2a00:23c6:6f4f:d001:20eb:9d22:835a:c06c:0] AH01071: Got error ‘PHP message: PHP Warning: Undefined variable $force in /home/storm/sites/wbc1-otiscreative-co-uk/public/wp-content/plugins/divi-mega-pro/class.divi-mega-pro.admin.core.php on line 208’, referer: https://wbc1.otiscreative.co.uk/wp-admin/plugins.php?plugin_status=all&paged=1&s
[Wed Feb 02 08:24:39.400052 2022] [proxy_fcgi:error] [pid 3109701] [client 2a00:23c6:6f4f:d001:20eb:9d22:835a:c06c:0] AH01071: Got error ‘PHP message: PHP Warning: Undefined variable $force in /home/storm/sites/wbc1-otiscreative-co-uk/public/wp-content/plugins/divi-mega-pro/class.divi-mega-pro.admin.core.php on line 208’, referer: https://wbc1.otiscreative.co.uk/wp-admin/plugins.php
[Wed Feb 02 08:25:12.226569 2022] [proxy_fcgi:error] [pid 3110766] [client 2a00:23c6:6f4f:d001:20eb:9d22:835a:c06c:0] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to undefined function is_bbpress() in /home/storm/sites/wbc1-otiscreative-co-uk/public/wp-content/themes/Divi-Child-Theme/functions.php:28\nStack trace:\n#0 /home/storm/sites/wbc1-otiscreative-co-uk/public/wp-includes/class-wp-hook.php(309): modify_body_classes()\n#1 /home/storm/sites/wbc1-otiscreative-co-uk/public/wp-includes/plugin.php(189): WP_Hook->apply_filters()\n#2 /home/storm/sites/wbc1-otiscreative-co-uk/public/wp-includes/post-template.php(836): apply_filters()\n#3 /home/storm/sites/wbc1-otiscreative-co-uk/public/wp-includes/post-template.php(595): get_body_class()\n#4 /home/storm/sites/wbc1-otiscreative-co-uk/public/wp-content/themes/Divi/header.php(29): body_class()\n#5 /home/storm/sites/wbc1-otiscreative-co-uk/public/wp-includes/template.php(770): require_once(‘…’)\n#6 /home/storm/sites/wbc1-otiscreative-co-uk/public/wp-includes/template.php(716): load_template()\n#7 /home/storm/sites/wbc1-otiscreative-co-uk/public/wp-content/themes/Divi/in…’
ok. You should not get an error when deactivating bbpress, so something is causing this outside of bbpress itself.
You say you get a critical error – I need to know exactly what that says. You might need to turn n debug to get this.
Wordpress doesn’t make this easy !!
https://wpforms.com/developers/how-to-enable-debugging-in-wordpress/
so if you decativate ‘PMPro – bbPress Add On’ first and then deactivate bbpress – does that work?
I can deactivate that no problem
When I deactivate bbPress is when i get a critical error, as soon as activate all is fine again.
ok, so what bbpress related other plugins do you have if any?
@robin-w, I think bbPress does just what you’re saying. But (if I understand things correctly) BuddyPress will change the WP “display name” (and/or “nickname” ???) when you update your name in the BP profile — If “synching” is on. I use BP, but I actually have synching OFF, so I’m not all that familiar with the details.
BTW, the same goes for email. You can change that in the BP profile too, and (if allowed) it updates it in WordPress.
@mike80222 – thanks -interesting – I thought bbpress just pulled the name from the database user nickname field, maybe it doesn’t or that plugin doesn’t actually change that value
bbpress just uses the wordpress display name, so any wordpress plugin that changes this should work eg
Easy Username Updater
it maybe a dependant plugin issue? ie an additional plugin which needs bbpress
so the standard fault finding applies 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 then deactivate 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
Hi there,
I have been testing bbPress for my site but I am not sure it is the right fit.
And so, I disable it and it causes a critical error in WordPress. I enable it again and the site comes back.
I am using WP 5.9, DIVI theme 4.14.7
Site: https://wbc1.otiscreative.co.uk/
I would like to test BuddyPress but I don’t want to do this while I have this issue with bbPress.
Let me know if you need any further info.
Many thanks,
Ollie
I’m creating a new site, which will have a BuddyPress Group for each geographic area, such as city, county, state, nation. They would be nested, and each would have multiple BBPress Forums, such as for neighborhoods within a city. I don’t really understand the purpose of giving Forums numbers: is it just to create a display order? I need advice on creating a numbering system for the Forums that will make sense, so I don’t have to re-do it later on. Thanks.
Thank you, Galt! Almost 4 years later, this Elementor-Bbpress post type conflict still remains unresolved but your solution provides a good fix!
#Grateful
I’m having the same issue…
I’ve created a page with the URL ‘forums’ which matches the setting in BBPress.
But the form still doesn’t show on the forums page?
Hi!
To anyone in need of a login menu item with both user avatar and Link to the Bbpress dashboard in 2022, here’s my version of @robkk ‘s code :
add_filter('wp_nav_menu_items','rk_bbp_menu_profile_link', 10, 2);
function rk_bbp_menu_profile_link( $items, $args ) {
if( is_user_logged_in() && $args->theme_location == 'menu-1') {
$current_user = wp_get_current_user();
$user = $current_user->user_login ;
$avatar = get_avatar( $current_user->ID, 64 );
$items .= '<li class="NavBarLogin"><a href="/forums/users/' . $user . '/edit">' . $avatar . 'Mon compte</a></li>';
}
return $items;
}
Halo,
there is a fixed permalink for the forum in the forum settings. I only can change the last part of the name on bbpress. But to display the forum on my pages I need the same link name for my pages.
nichtvovndieserwelt.org/forums/forum/verbuendeten-forum is the name on the forumssettings. But If I try to create a page with this url address it changes automatically in the settings to nichtvondieserwelt.org/forums-forum-verbuendeten-forum. So there appears no forum on the different page because it has different addresse. Again how can I make display the forum on a page and make buttons to link to them if I can not choose my own address in BOTH cases????
Please help
I’ve got BuddyPress set up so that each group has one bbPress forum. I’d like to show a ‘Subscribe’ button in the group header on the group’s homepage which works exactly the same as the Subscribe button on the group’s forum page.
I’m using the code below to show the button, but it reloads the page instead of doing an AJAX call, and it doesn’t subscribe/unsubscribe the user from the group’s forum.
What do I need to do to get this working? The correct forum ID is being passed in the arguments.
$forum_ids = bbp_get_group_forum_ids();
if ( $forum_ids ) {
$sub_link_args = [ 'object_id' => reset( $forum_ids ) ];
bbp_forum_subscription_link( $sub_link_args );
}
HI,
First time using bbpress.
When I use the search on my forum page https://this.sheetgood.com/forum/ the search results page is just the footer with some weird widget overlaps in the footer.
I’ve tried everything I can think of in my limited tool box.
deactivated all other plugins, tried different themes but it still seems to happen.
Any help is appreciated!
Hello! I installed bbpress about a month ago and have been trying to create moderators. When I send an invite the user becomes a participant, and I get get an error message when I try to switch the user to moderator.
Can anyone help?
bbp style pack
will give you unread messages, and has a tab in settings which lists lots of other bbpress plugins
Hello everyone, I have used the integrated bbpress importer to import from kunena 5, users, forums and discussions have been imported but the answers have not mattered to me.
Is there any way to import from kunena 5.1.16? if not can Is there a way to import only the answers?
pushing staging to live is a hoster process, so would require your hoster software to recognise worpdress, bbpress and lots of other plugins, so highly unlikely
Hi,
I have about 89000 posts in forum phpBB
I want import to bbPress but the script run and run and run without ever endling.
I have params the timeout of php script to 3600sec and check the connexion to database.
All is correct.
I haven’t error message.
How I can see the problem
Ps : I have test CMS2CMS and the demo work fine but the price is little expensive for me.
I don’t understand why the native doesn’t work.
ok I can only suggest the standard 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