Strange issue with bp_core_get_user_domain
-
Hi everyone. I was nearly done with my site and then ‘Wham!’ I got an error on my member profile pages (seems to be sudden conflict with the User Switching plugin that’s been used for weeks). I disabled the plugin, then the profile pages load as they should, but still need the functionality. I’m really puzzled as to why this would occur when it’s been used since I started building the site.
Does anyone have any ideas? Thank you in advance.
Here’s the error from my logs:
[18-Jan-2024 02:36:16 UTC] PHP Fatal error: Uncaught Error: Call to undefined function bp_core_get_user_domain() in /home/customer/www/sg-host.com/public_html/wp-content/plugins/user-switching/user-switching.php:761
Stack trace:
#0 /home/customer/www/sg-host.com/public_html/wp-includes/class-wp-hook.php(324): user_switching->action_bp_button(”)
#1 /home/customer/www/sg-host.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)
#2 /home/customer/www/sg-host.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 /home/customer/www/sg-host.com/public_html/wp-content/plugins/buddypress/bp-templates/bp-nouveau/includes/members/template-tags.php(148): do_action(‘bp_member_heade…’)
#4 /home/customer/www/sg-host.com/public_html/wp-content/plugins/buddypress/bp-templates/bp-nouveau/buddypress/members/single/member-header.php(47): bp_nouveau_member_header_buttons(Array)
#5 /home/customer/www/sg-host in /home/customer/www/sg-host.com/public_html/wp-content/plugins/user-switching/user-switching.php on line 761
- You must be logged in to reply to this topic.