Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Installed BP 1.1 and Fatal Error


Mike Challis
Participant

@mikechallis

My bad, I forgot to activate the Buddypress plugin.

It would be nice if instead of generating a fatal error, there was some code in header.php on line 9 that would check for the existence of the function and print a nice error message like “Did you forget to activate the BuddyPress plugin?”

Here is the proposed improvement code (this goes in the very top of themes/bp-sn-parent/header.php:

<?php
if ( !function_exists('bp_page_title') ) {
die('Did you forget to activate the BuddyPress plugin?');
}
?>

Skip to toolbar