[buddypress-trac] [BuddyPress Trac] #9302: primary navigation in site editor fails to allow creation of a group

buddypress-trac noreply at wordpress.org
Wed Sep 3 03:37:52 UTC 2025


#9302: primary navigation in site editor fails to allow creation of a group
--------------------------+-----------------------------
 Reporter:  quandt        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Groups        |    Version:  14.3.2
 Severity:  critical      |   Keywords:
--------------------------+-----------------------------
 If in nouveau, you use the site editor to create a 'primary navigation'
 item and then when in 'groups' wish to create a new group, you get an
 error (on the second step of creating the group).

 Fatal error: Uncaught Error: Call to a member function get_secondary() on
 null in /var/www/wordpress/wp-content/plugins/buddypress/bp-templates/bp-
 nouveau/includes/template-tags.php:802 Stack trace: #0 /var/www/wordpress
 /wp-content/plugins/buddypress/bp-templates/bp-
 nouveau/buddypress/groups/single/parts/item-nav.php(12):
 bp_nouveau_has_nav() #1 /var/www/wordpress/wp-includes/template.php(812):
 require('/var/www/wordpr...') #2 /var/www/wordpress/wp-
 content/plugins/buddypress/bp-core/bp-core-template-loader.php(225):
 load_template() #3 /var/www/wordpress/wp-content/plugins/buddypress/bp-
 core/bp-core-template-loader.php(67): bp_locate_template() #4
 /var/www/wordpress/wp-content/plugins/buddypress/bp-templates/bp-
 nouveau/includes/functions.php(1612): bp_get_template_part() #5
 /var/www/wordpress/wp-includes/class-wp-block.php(586):
 bp_nouveau_render_primary_nav_block() #6 /var/www/wordpress/wp-includes
 /class-wp-block.php(566): WP_Block->render() #7 /var/www/wordpress/wp-
 includes/class-wp-block.php(566): WP_Block->render() #8 in
 /var/www/wordpress/wp-content/plugins/buddypress/bp-templates/bp-
 nouveau/includes/template-tags.php on line 802

 wordpress version:  6.8.2
 buddypress:  14.3.4
 nouveau template pack

 How to create:
 From within the wordpress dashboard, Site editor, add 'primary navigation'
 to your template (I chose two column in which the primary navigation
 element is the only item in the first colunm)

 Go to the buddypress frontend, navigate to groups and create a group.
 Step 1 page:   enter the title and details (no problems), upon clicking
 next you get the above failure

 This was tested in a sandboxed (docker) standalone nothing else other than
 wordpress and buddypress... no other plugins installed type of
 environment, should be easy to duplicate.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9302>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list