[buddypress-trac] [BuddyPress] #5216: Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init().

buddypress-trac noreply at wordpress.org
Fri Oct 25 13:35:37 UTC 2013


#5216: Notice: bp_setup_current_user was called incorrectly. The current user is
being initialized without using $wp->init().
--------------------------+------------------------------------
 Reporter:  nerrad        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:  1.8.1
 Severity:  normal        |   Keywords:  has-patch dev-feedback
--------------------------+------------------------------------
 I have full error reporting on.  Running PHP 5.3.6 and BuddyPress 1.8.1.

 I see this notice when on the WP login screen.  Looking into the error it
 looks like BP is implementing "bp_setup_current_user()" via the
 "set_current_user" hook before $wp->init is fired.

 Attached is a patch for trunk that should fix this error?

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5216>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list