Title: Deprecated: Function bp_core_get_user_domain
Last modified: January 11, 2024

---

# Deprecated: Function bp_core_get_user_domain

 *  Resolved [gopa4](https://wordpress.org/support/users/gopa4/)
 * (@gopa4)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/deprecated-function-bp_core_get_user_domain/)
 * Hello,
 * I got this in the debug mode on a page with [mycred_leaderboard total=1 number
   =72 timeframe=”today”]:
 *     ```wp-block-code
       Deprecated: Function bp_core_get_user_domain is deprecated since version 12.0.0! Use bp_members_get_user_url() instead. in /var/www/vhosts/xxxxx/wp-includes/functions.php on line 6031
       ```
   
 *     ```wp-block-code
       Notice: Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.) in /var/www/vhosts/xxx/wp-includes/functions.php on line 6031
       ```
   

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [Daniyal Raza](https://wordpress.org/support/users/daniyalraza01/)
 * (@daniyalraza01)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/deprecated-function-bp_core_get_user_domain/#post-17338158)
 * Hello [@gopa4](https://wordpress.org/support/users/gopa4/),
 * Thanks for contacting us. Hope you are doing well.
 * Please download the updated plugin from below link and re-install into your website
   after deleting the previous plugin.
 * [Download Now](https://drive.google.com/file/d/1qZ47mMETuUP3ZPuMxgatDIp_CJ-g5vRt/view?usp=sharing)
 * Let us know if the issues still persist. Also, share screencast video of the 
   entire scenario. So it will be helpful for us.
 * We will help you out.
 * Thanks
 *  Thread Starter [gopa4](https://wordpress.org/support/users/gopa4/)
 * (@gopa4)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/deprecated-function-bp_core_get_user_domain/#post-17338663)
 * Thank you for your quick reply.
 * The warning is gone from the Leadership board but
 * not from the widget “Rating this week”:
 * Notice: Function wpdb::prepare was called incorrectly. The query argument of 
   wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for
   more information. (This message was added in version 3.9.0.) in /var/www/vhosts/
   xxx/wp-includes/functions.php on line 6031
 *  [Daniyal Raza](https://wordpress.org/support/users/daniyalraza01/)
 * (@daniyalraza01)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/deprecated-function-bp_core_get_user_domain/#post-17347258)
 * Our team is checking this error and we will update you on this.
 * Sorry for the inconvenience.
 *  [Daniyal Raza](https://wordpress.org/support/users/daniyalraza01/)
 * (@daniyalraza01)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/deprecated-function-bp_core_get_user_domain/#post-17352892)
 * Hello [@gopa4](https://wordpress.org/support/users/gopa4/),
 * Sorry to inform you that we are unable to replicate this scenario on our environment.
   It is working absolutely fine with the plugin that was shared with you previously.
 * It seems like a site specific issue. We need to look into it. To escalate your
   case, please create a ticket on our official website. So that we can connect 
   you directly with our Technical team.
 * Looking forward to getting your issue resolved.
 * Hope to hear from you soon.
 * Thanks
 *  Thread Starter [gopa4](https://wordpress.org/support/users/gopa4/)
 * (@gopa4)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/deprecated-function-bp_core_get_user_domain/#post-17358993)
 * Updated Buddypress to the last version 12.1.1 . The message is gone. Solved.
 * Thanx!
 *  [Daniyal Raza](https://wordpress.org/support/users/daniyalraza01/)
 * (@daniyalraza01)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/deprecated-function-bp_core_get_user_domain/#post-17361547)
 * Thanks for the update.
 * Let me know if you have any issues further. We will help you out.
 * Thanks

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Deprecated: Function bp_core_get_user_domain’ is closed to new replies.

 * ![](https://ps.w.org/mycred/assets/icon-128x128.gif?rev=3512531)
 * [Points Management System For Gamification, Ranks, Badges, and Loyalty Rewards Program - myCred](https://wordpress.org/plugins/mycred/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mycred/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mycred/)
 * [Active Topics](https://wordpress.org/support/plugin/mycred/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mycred/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mycred/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Daniyal Raza](https://wordpress.org/support/users/daniyalraza01/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/deprecated-function-bp_core_get_user_domain/#post-17361547)
 * Status: resolved