Skip to:
Content
Pages
Categories
Search
Top
Bottom

Bbpress giving errors


  • fattbabanlakay
    Participant

    @fattbabanlakay

    My bbpress is giving this error after activation in debug mode: 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 C:\xampp\htdocs\wordpress\wp-includes\functions.php on line 3560

    Also I noticed that after activation, some ajax features on my site will no more work, for instance, if i visit the media page on the dashboard, it will load forever without giving any result.

    I need urgent help please.

    Thanks.

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

  • Robkk
    Moderator

    @robkk

    @fattbabanlakay

    its a known issue and is being worked on.


    Fryvisuals
    Participant

    @fryvisuals

    You can either change WP_DEBUG to false inside wp-config.php

    OR if you need debugging for development go to /plugins/bbpress/includes/core/sub-actions.php

    function bbp_setup_current_user() {
    	if ( ! did_action( 'after_setup_theme' ) ) {
    		// comment out line below
    		// _doing_it_wrong( __FUNCTION__, __( 'The current user is being initialized without using $wp->init().', 'bbpress' ), '2.3' );
    	}
    
    	do_action( 'bbp_setup_current_user' );
    }
    
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar