Fatal Error Call To Undefined Function Bp_is_active
› Boss. theme › Fatal error: Call to undefined function bp_is_active() i This question contains 5 replies, has 2 contibutors, and was last updated by TJ Chester (Admin) 1 year, 8 months ago. Viewing 6 posts - 1 through 6 (of 6 total) Question February 15, 2015 at 4:22 pm #36015 Christopher @cwilliams I am seeing this error on a client site after the last update Answers February 15, 2015 at 4:23 pm #36016 Christopher @cwilliams Fatal error: Call to undefined function bp_is_active() Line 153 February 15, 2015 at 6:11 pm #36020 Christopher @cwilliams I was able to fix this by renaming the Boss media plugin via FTP and then reinstalling the media plugin not sure where this error stim from cause it did not happen until updated this client to 1.05 of the parent theme February 15, 2015 at 9:17 pm #36027 TJ Chester (Admin)Staff @tjchester @cwilliams this is a plugin issue calling bp_is_active too soon. We are working to resolve this. You can simply deactivate the plugin, update BP, then reactivate plugin. February 15, 2015 at 9:34 pm #36028 Christopher @cwilliams Thats what i had to do @tjchester February 16, 2015 at 9:09 am #36048 TJ Chester (Admin)Staff @tjchester 🙂 Viewing 6 posts - 1 through 6 (of 6 total) The question ‘Fatal error: Call to undefined function bp_is_active() i' is closed to new replies. Comments are closed. Helpful Information Tutorials Guide to Child Themes Release Notes How to Update Recommended Plugins FAQ We're Hiring Custom Work Search Forums Customer LoginUsernamePassword Remember Me View Themes See also our Plugins and Solutions Custom Development Tell us about your project BuddyBossTerms & Conditions Support Policy Privacy Policy Affiliate Program Contact Us BuddyPressAbout BuddyPress BuddyPress Site Directory How BuddyPress Works BuddyPress Plugins How to Install BuddyPress ResourcesDocumentation Frequently Asked Questions Community Forums Blog Release Notes Stay in touch Subscribe to our newsletter, and we'll send you the latest news from BuddyBoss. © 2016 BuddyBoss @ Not recently active
2.6 [Resolved] Fatal Error with Buddypress 2.6 syborg @syborg 3 months, 3 weeks ago Hello, the plugin triggers a Fatal Error with the new 2.6 version of Buddypress : Fatal error: Call to undefined function bp_get_current_group_id() in /home/.../public_html/.../wp-content/plugins/buddypress/bp-groups/classes/class-bp-group-extension.php on line 484 I don't know if it's the right place and the perfect way, but before the next update, if it can help someone, I changed the first line of the file group-cover.php like this : if http://www.buddyboss.com/support-forums/topic/fatal-error-call-to-undefined-function-bp_is_active-i/ ( class_exists( 'BP_Group_Extension' ) ) : by if ( class_exists( 'BP_Group_Extension' ) && bp_is_active('groups') ) : See also : The original Buddypress forum topic. Viewing 5 replies - 1 through 5 (of 5 total) rrecurse @rrecurse 3 months, 3 weeks ago If you're like me and have buddypress groups turned off, this https://wordpress.org/support/topic/fatal-error-with-buddypress-26/ will produce the error shown. I fixed by adding this to /wp-content/plugins/buddypress/bp-groups/classes/class-bp-group-extension.php change: $group_id = bp_get_current_group_id(); to: $group_id = (bp_is_active('groups') ? bp_get_current_group_id() : ''); and change: if ( empty( $group_id ) && bp_get_new_group_id() ) { $group_id = bp_get_new_group_id(); } to: if(bp_is_active('groups')) { if ( empty( $group_id ) && bp_get_new_group_id() ) { $group_id = bp_get_new_group_id(); } } IMO, they should have tested this before pushing out an update. Hopefully they figure things out. kaab321 @kaab321 3 months, 3 weeks ago rrecurse THANK YOU, THANK YOU, THANK YOU!! gotmick @gotmick 3 months, 3 weeks ago @rrecurse Nice fix, Thank you for posting it. syborg @syborg 3 months, 3 weeks ago I forget to say that the error appears if you turn off the groups feature, sorry :/. @rrecurse I tried your fix, but a new fatal error appeared for me : Fatal error: Call to undefined function bp_is_group_admin_screen() in .../wp-content/plugins/buddypress-cover-photo/group-cover.php on line 157
This new fixContact Work with us The Hub Log In Become a member New to the community? Start here Home Support Support Forums Plugins & themes BuddyPress Corporate https://premium.wpmudev.org/forums/topic/upgrade-to-bp-128-fatal-error-call-to-undefined-function-bp_get_root_domain Grant WPMU DEV Initiate 53 pts 18 pts LEVEL 1 Upgrade to BP http://stackoverflow.com/questions/20753876/checking-for-buddypress-from-a-theme 1.2.8 - Fatal Error: Call to undefined function bp_get_root_domain() Never Mind Fixed it with upgrade to bp-corporate 1.3.4 Upgraded to BP 1.2.8 and am receiving this error... Fatal error: Call to undefined function bp_get_root_domain() in /home/triadhom/public_html/wp-content/themes/bp-corporate/functions.php on line 643 Commented that out and now i'm getting Fatal error: Call to undefined function bp_is_active() fatal error in /home/triadhom/public_html/wp-content/themes/bp-corporate/functions.php on line 1596 More BuddyPress Corporate discussions BuddyPress Corporate All General WordPress Plugins & Themes Multisite Features & Feedback Comments 2 Grant WPMU DEV Initiate 53 pts 18 pts LEVEL 1 Fixed it with upgrade to bp-corporate 1.3.4 DavidM DEV MAN’s Mascot 1,378 pts 6,427 pts LEVEL 24 Hi Grant, Thanks for reporting your resolution back here. Helps others find the solution more quickly. Cheers, fatal error call David FREE WordPress Tutorials, Tips and Tricks Subscribe JOIN 436048 HAPPY MEMBERS We pride ourselves on our level of customer support and responsiveness to member requests. Your WordPress experience will never be the same Start free trial ABOUT SSL CERTIFICATES Plugins Hummingbird Defender Hustle Snapshot More... Themes Upfront Builder Spirit Luke & Sara Parrot More... Resources 24/7 Support Academy Jobs & Pros Blog Changing or Updating Your Version of PHP for WordPress Understanding and Using the WordPress Hook System Making Your WordPress Website Fly: A Performance Optimization Tutorial More... Contact The Team Privacy Terms © 2004-2016 WPMU DEV - Project by Incsub 24/7 Unlimited Expert WordPress Support Being a WPMU DEV member is like having your own WordPress support team - along with 350+ awesome plugins, themes and videos. Find out more Get the tips and resources all the WordPress professionals use - free and weekly. × How do you rate me? Thank you for rating your experience! We’re thrilled to hear you had a great experience with . Would you like to leave a comment about your experience: Thanks for voting on your experience with , we’d love to get some feedback please. Ohh no! We’re really s
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Checking for buddypress from a theme up vote 0 down vote favorite How can I check for buddypress from a theme? I've found this page for BP Plugin development but this action never gets loaded if I hook from a theme. Why does it not work? P.S. I need call some BP's functions from a theme, like: Show "BP's Activity Stream" at specific places. What I mean with "never gets loaded" is: (File in subdirectory of theme, and included in functions.php) function sometestfunction() { exit(); } add_action ('bp_include', 'sometestfunction'); This must make wordpress show a blank page, won't ? php wordpress-theming hook wordpress share|improve this question edited Dec 24 '13 at 15:45 asked Dec 24 '13 at 2:02 Victor Aurélio 677517 add a comment| 2 Answers 2 active oldest votes up vote 1 down vote this action never gets loaded You mean never gets called? Not sure why that would be, since you don't provide any code. But it's meant for loading plugins. If BP is installed, it is loaded by the time theme templates are parsed. Have you tried calling BP functions in your theme? I've never had a problem doing that. Put your function(s) in one of these places: a plugin theme/functions.php bp-custom.php http://codex.buddypress.org/plugindev/bp-custom-php/ If your code will be used on installs you don't control, you should check for a BuddyPress component: if( bp_is_active( 'activity' ) { http://codex.buddypress.org/developer/bp-is-active/ share|improve this answer answered Dec 24 '13 at 15:15 shanebp 1,1493819 updated question. why don't directly call BP's functions ?! because if is the theme active and buddypress not, this will generate errors (calling to undefined functions...) –Victor Aurélio Dec 24 '13 at 15:46 Your 'sometestfunction' will work in bp-custom.php. It won't work in theme/functions.php because it's too late, bp_incl