Forum Replies Created
-
In reply to: bbp_setup_current_user was called incorrectly.
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 3012searching 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’ );