I am getting same issue with the following message when define(‘WP_DEBUG’, true) is set. Could you please tell me how to remove this notice instead of turning off the define(‘WP_DEBUG’, true) to define(‘WP_DEBUG’, false)
Message: “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 \wp-includes\functions.php on line 3245” ( line 3245 is in function _doing_it_wrong() )
It’s urgent for me please reply asap.
Thanks in advance.