Skip to:

Opened 15 years ago

Closed 14 years ago

#1093 closed enhancement (fixed)

More graceful error for BuddyPress plugin not activated

Reported by: mikechallis's profile MikeChallis Owned by:
Milestone: 1.2 Priority: minor
Severity: Version:
Component: Keywords:


There should be a more graceful error for BuddyPress plugin not activated.

I just installed BP 1.1 on a fresh install of WPMU.
Well... I forgot to activate the BuddyPress plugin, then got this 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

Here is my proposed code to provide a more graceful and meaningful error. This goes in the very top of themes/bp-sn-parent/header.php:

 if ( !function_exists('bp_page_title') ) {
  die(__('Did you forget to activate the BuddyPress plugin?','buddypress'));

Change History (2)

#1 @apeatling
15 years ago

  • Milestone changed from 1.1 to 1.2

#2 @DJPaul
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in 1.2.

Note: See TracTickets for help on using tickets.