Functions defined by BuddyPress undefined in multisite….
-
I am running WordPress -v 5.8.3, and installed BP -v 10.0.0 ~2 months ago. I am using WP multisite, set to install sites as subdirectories. I have defined define( ‘BP_ENABLE_MULTIBLOG’, true ); in the wp_config.php file, and now it hangs and reports the below error when running a members page within the subsite. It works as usual in the main site, though.
[08-Mar-2022 22:00:33 UTC] PHP Fatal error: Uncaught Error: Call to undefined function bp_nouveau_is_object_nav_in_sidebar() in public_html/wp-content/themes/nextarch-child/buddypress/members/index.php:13 Stack trace: #0 public_html/wp-includes/template.php(772): require() #1 public_html/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(222): load_template('/home/713369.cl...', false, Array) #2 public_html/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(67): bp_locate_template(Array, true, false, Array) #3 public_html/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(407): bp_get_template_part('members/index', NULL, Array) #4 public_html/wp-content/plugins/buddypress/bp-members/classes/class-bp-members-theme-compat.php(144): bp_buffer_template_part('member in public_html/wp-content/themes/nextarch-child/buddypress/members/index.php on line 13
I’d greatly appreciate understanding why this is occurring, and how I can fix it. It seems the functions defined by bp core are not accessible when in the sub-site, despite bp being activated in the network and the global constant BP_ENABLE_MULTIBLOG being defined as true in the wp_config file.
Thanks,
Chad
- You must be logged in to reply to this topic.