[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:51:38 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           |  Resolution:
 Keywords:  has-patch close  |
-----------------------------+------------------------------
Changes (by nerrad):

 * keywords:  has-patch dev-feedback => has-patch close


Comment:

 actually, realizing this isn't  a BuddyPress bug there's a plugin on my
 clients install that is calling `get_current_user()` too early, which via
 the stack trace ends up calling `set_current_user()` too early.

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


More information about the buddypress-trac mailing list