if I add the code
// Add Back page body class when bbPress and BuddyPress are active
function mme_addback_page_body_class($classes){
if( is_bbpress() || is_buddypress() )
$classes[]="page";
return $classes;
}
add_filter('body_class','mme_addback_page_body_class',20);
to public_html/wp-content/themes/spun/functions.php
I get the a blanc page and looking at the page source, i can see:
<body
Fatal error: Call to undefined function is_buddypress() in ...../public_html/wp-content/themes/spun/functions.php on line 338
Same happens, if code is added to themes/spun/bbpress/bbpress-functions.php
<body
Fatal error: Call to undefined function is_buddypress() in ....../public_html/wp-content/themes/spun/bbpress/bbpress-functions.php on line 448
Hopefully this makes sense ??