bp_setup_current_user was called incorrectly

Posted in: Newspaper
Post count: 14

After a lot of search I couldn’t find a straight answer for this problem.

I’m getting the following error: bp_setup_current_user was called incorrectly $wp->init().

This is a problem with BUDSYPRESS and the THEME. Not BBPRESS (not installed)

I DISABLED ALL my plugins except BUDDYPRESS and the LOG show that problem. Then I changed to “Twenty Fourteen” theme and the problem was gone. This only points to a problem with the THEME. Can you guide me on how to fix this?!

Thanks

Post count: 22421

Hello,

It seems that they added this message in the 1.7 version of buddypress and has appeared at random ever since.
We will look into this issue and until we can identify the problem or buddypress fixes it you can try to run with WP_DEBUG FALSE as the error is just a notification without affecting your website.
If you need the debug on you can maybe try this solution:
https://bbpress.org/forums/topic/bbp_setup_current_user-was-called-incorrectly-3/
or this one
https://core.trac.wordpress.org/ticket/24169

Thank you for your understanding and sorry for the inconvenience.

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.