BuddyPress Deprecat...
 
Notifications
Clear all

BuddyPress Deprecated Code

3 Posts
2 Users
0 Reactions
196 Views
Posts: 1
Topic starter
(@mny20)
New Member
Joined: 4 months ago

Hi,

 

Versions:

I am running wpForo 2.4.0

BuddyPress plugin installed is the latest version 14.1.0  

 

Settings:

My wpForo Settings>Member Profile>Profile Page is set to 'BuddyPress'

 

Description of problem:

During a wordpress debug I receive the below debug report output, repeated a number of times on page loads.

My wpForo Settings>Member Profile>Profile Page is set to 'BuddyPress'

 

Debug report:

Deprecated: Function bp_core_get_user_domain is deprecated since version 12.0.0! Use bp_members_get_user_url() instead. in /wp-includes/functions.php on line 6085

Deprecated: Function bp_core_get_username is deprecated since version 12.0.0! Use bp_members_get_user_slug() instead. in /wp-includes/functions.php on line 6085

Deprecated: Function bp_get_root_domain is deprecated since version 12.0.0! Use bp_get_root_url() instead. in wp-includes/functions.php on line 6085

 

Conclusion / Fix

Possibly the error is due to deprecated buddypress code in the wpForo BuddyPressHooks.php?

As a temporary fix, installing and activating BPClassic 1.4.0 removes the errors.

Longer term, is there a plan to remove the wpForo deprecated code enabling me to remove BuddyPress Classic?

 

Thanks

M

2 Replies
Sofy
Posts: 5002
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 years ago

Hi, 

We'll check and get back to you soon. 

Reply
Sofy
Posts: 5002
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 years ago

We'll try to replace the bp_core_get_user_domain() function with the bp_members_get_user_url() in the next version of the wpForo plugin (no ETA yet).

Reply