Why this error always appears (bbp_setup_current_user was called incorrectly) ?
-
Hi,
Lots of plugins make this message appear :
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 3560
How could we correct this, it’s very annoying because even my functions (not related to bbpress) causes this !
For example, this code display bbpress error :
if (!current_user_can('update_plugins')) { add_action('admin_init', create_function(false,"remove_action('admin_notices', 'update_nag', 3);")); }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.