Skip to:
Content

BuddyPress.org

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#3614 closed defect (bug) (worksforme)

fatal error on bp pages in 1.5 upgrade///

Reported by: stephenetta's profile stephenetta Owned by:
Milestone: 1.5.1 Priority: normal
Severity: major Version:
Component: Core Keywords: needs-patch
Cc:

Description

running a wp multisite 3.2.1 and just upgraded to BP 1.5 from 1.2 – no other BP plugins are running
and am now receiving the following error:

Fatal error: Cannot access empty property in ../html/wp-content/plugins/buddypress/bp-core/bp-core-template.php on line 780

using custom theme, so i activated the BP default 1.5 theme and it gives the same error.
the line of code being referenced references a slug, i reset permalinks, but none of the BP pages work.

sample: http://soniceclectic.com/members

Change History (8)

#1 @boonebgorges
13 years ago

I'm not sure why you would have a blank item in $bp->active_components. To help us debug, would you mind putting the following code after line 776, after } else {

var_dump( $bp->active_components ); die();

Copy the stuff that outputs to your screen and post it here. Thanks!

#2 @boonebgorges
13 years ago

  • Keywords reporter-feedback added

#3 @boonebgorges
13 years ago

  • Milestone changed from Awaiting Review to 1.5.1

Was thinking about this some more, and while I think that there's something outside of BP itself causing the problem on the OP's installation, I also think that on BP's end, this is another of the consequences of the juggling of active_components and loaded_components. A harmless fix involves doing an empty($id) check before running the $bp->{$id} stuff in bp_is_current_component(). At a minimum, this is something that can be harmlessly introduced for 1.5.1.

#4 @stephenetta
13 years ago

sorry for the delay in responding (i thought i would get an automatic email...)

anyhoo, here is the output. thanks for looking into this!

array(9) { xprofile?=> int(1) settings?=> int(1) friends?=> int(1) messages?=> int(1) activity?=> int(1) groups?=> int(1) forums?=> int(1) blogs?=> int(1) members?=> int(1) }

Version 0, edited 13 years ago by stephenetta (next)

#5 @stephenetta
13 years ago

Last edited 13 years ago by stephenetta (previous) (diff)

#6 @stephenetta
13 years ago

  • Keywords reporter-feedback removed

#7 @stephenetta
13 years ago

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

my apologies... it ended up being a conflict with the "easy albums" BP plugin (i thought i had disabled all of them). still not sure HOW it conflicts, but will keep looking into it.

thanks much for your time!

#8 @boonebgorges
13 years ago

Thanks :)

Note: See TracTickets for help on using tickets.