Skip Navigation

[Fixed in next Release] PHP notice on the site with BuddyPress after last update

This support ticket is created 8 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 4 replies, has 2 voices.

Last updated by Luo Yang 8 years ago.

Assisted by: Luo Yang.

Author
Posts
#430631

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.

#430737

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

#435911

Hi,

Do you have any news about the issue? Thanks.

#441198

Sorry, our 2nd supporter can not duplicate same problem, I just provide the duplicator package to him, hope there will be feedback soon

#446481

Here is the feedback from our developers:
This is fixed in the next version of Toolset plugins,