#5216 closed defect (bug) (no action required)
Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init().
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 1.8.1 |
Component: | Core | Keywords: | |
Cc: |
Description
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?
Attachments (1)
Change History (5)
#2
@
11 years ago
- Keywords close added; dev-feedback removed
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.
Note: See
TracTickets for help on using
tickets.
Forgot to mention - am running WP3.7 as well.