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.
UPDATE:
I have carried out the following troubleshooting activities:
- Deleted my bbpress child theme (problem did not go away)
- 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.
Hello,
am still out here! looking forward to being helped!
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’ );
I believe these errors disappear once you deactivate WP_DEBUG in wp-config.
Hi, So the errors are not a symptom of a malignant condition?
this is a bug in WordPress; see this ticket
As I see it is only a notice. So i hope it won’t break anything.
I believe this will be fixed in future release.
Error will make your website stop.
Hi I am getting the same error, has any one got fix for this?
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 /srv/wp-includes/functions.php on line 3792
Thanks