Skip to:
Content
Pages
Categories
Search
Top
Bottom

Installed BP 1.1 and Fatal Error


  • Mike Challis
    Participant

    @mikechallis

    I just installed BP 1.1 on a fresh install of WPMU (not upgrade)

    Anytime I activate the theme BuddyPress Default 1.1-rc I get an error on the blog site:

    Fatal error: Call to undefined function bp_page_title() in /bp/wp-content/themes/bp-sn-parent/header.php on line 9

    Is this a bug? Is there a fix?

    I installed following the BP 1.1 readme.txt

Viewing 2 replies - 1 through 2 (of 2 total)

  • 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?');
    }
    ?>


    Mike Challis
    Participant

    @mikechallis

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Installed BP 1.1 and Fatal Error’ is closed to new replies.
Skip to toolbar