Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbp_setup_current_user was called incorrectly.


  • terungwa
    Participant

    @terungwa

    Wordpress version: 3.6
    bbPress 2.3.2
    site url: http://www.rubycore-ng.com/blog/
    Hi, i am getting this error message on my site backend. I have created a custom bbpress child theme. The error is “bbp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). (This message was added in version 2.3.) in /hermes/bosoraweb132/b1582/ipg.virtualweb/https/blog/wp-includes/functions.php on line 3012″

    What is may be wrong?

Viewing 7 replies - 1 through 7 (of 7 total)

  • terungwa
    Participant

    @terungwa

    I have more information regarding this: this error only appears at the top of the theme customiser page when i attempt to launch the theme customizer.

    The forum has been ok since i installed a few days ago, but i probably did not notice this error because i just used the theme customizer today.

    Regards.


    terungwa
    Participant

    @terungwa

    UPDATE:
    I have carried out the following troubleshooting activities:

    1. Deleted my bbpress child theme (problem did not go away)
    2. Changed my theme to the default twenty thirteen then twenty twelve but still noticed the same error when i attempt to use the theme customizer.

    terungwa
    Participant

    @terungwa

    Hello,
    am still out here! looking forward to being helped!


    markemark
    Participant

    @markemark

    bbpress 2.3.2 on WP 3.6

    get 3 errors logged in php errors.

    [Thu Aug 29 14:41:32 2013] [error] [client 202.46.56.52] PHP Notice: bbp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 2.3.) in /var/www/html/wp-includes/functions.php on line 3012
    [Thu Aug 29 14:41:44 2013] [error] [client 119.63.193.196] PHP Notice: bbp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 2.3.) in /var/www/html/wp-includes/functions.php on line 3012
    [Thu Aug 29 14:42:11 2013] [error] [client 54.246.119.211] PHP Notice: bbp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 2.3.) in /var/www/html/wp-includes/functions.php on line 3012

    searching all my files this only seems to occur in the bbpress plugin.

    find . -name “*.php” -print | xargs grep bbp_setup_current_user
    ./plugins/bbpress/includes/core/sub-actions.php: * @uses do_action() Calls ‘bbp_setup_current_user’
    ./plugins/bbpress/includes/core/sub-actions.php:function bbp_setup_current_user() {
    ./plugins/bbpress/includes/core/sub-actions.php: do_action( ‘bbp_setup_current_user’ );
    ./plugins/bbpress/includes/core/actions.php:add_action( ‘set_current_user’, ‘bbp_setup_current_user’, 10 );
    ./plugins/bbpress/includes/core/actions.php:add_action( ‘bbp_setup_current_user’, ‘bbp_set_current_user_default_role’ );


    Xevo
    Participant

    @xevo

    I believe these errors disappear once you deactivate WP_DEBUG in wp-config.


    terungwa
    Participant

    @terungwa

    Hi, So the errors are not a symptom of a malignant condition?


    abdessamad idrissi
    Participant

    @abdessamad-idrissi

    this is a bug in WordPress; see this ticket

Viewing 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.