Hi,
We are using Toolset with BuddyPress in one of the projects and after the last update I get the following notice on every site page:
Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). === Trace:
#6 /home/c/.../.../public_html/wp-content/plugins/types/library/toolset/toolset-common/user-editors/medium/screen/content-template/frontend-editor.php(17): current_user_can('manage_options')
#7 /home/c/.../.../public_html/wp-content/plugins/types/library/toolset/toolset-common/user-editors/manager.php(95): Toolset_User_Editors_Medium_Screen_Content_Template_Frontend_Editor->isActive()
#8 /home/c/.../.../public_html/wp-content/plugins/types/library/toolset/toolset-common/user-editors/manager.php(75): Toolset_User_Editors_Manager->fetchActiveEditor()
#9 /home/c/.../.../public_html/wp-content/plugins/types/library/toolset/toolset-common/user-editors/manager.php(138): Toolset_User_Editors_Manager->getActiveEditor()
#10 /home/c/.../.../public_html/wp-content/plugins/types/library/toolset/toolset-common/user-editors/beta.php(87): Tool in /home/c/.../.../public_html/wp-includes/functions.php on line 3995
Please advise.
Note: I removed the domain name from debug information as the access to the site is only under NDA. If you want to have a look, I can set up a copy of the system for you, just let me know.
Thanks.
Dear Valeriia,
Thanks for the details, I can duplicate same problem in my localhost, and put it into our to-do list, our developers will take care of it, currently you can disable wordpress debug mode in your wp-config.php, to hide those PHP notice
Hi,
Do you have any news about the issue? Thanks.
Sorry, our 2nd supporter can not duplicate same problem, I just provide the duplicator package to him, hope there will be feedback soon
Here is the feedback from our developers:
This is fixed in the next version of Toolset plugins,