Re: group creation error: Are you sure you want to do this?
bp_is_group_creation_step() is failing. inside there if ( !bp_are_previous_group_creation_steps_complete( $step_slug ) ) is failing… inside there, return bp_is_group_creation_step_complete( $previous_steps ); is failing… inside there if ( !$bp->groups->completed_create_steps ) is failing… Which means that step two is not storing that it has been created…
bp_groups.php in buddypress plugin is not keeping $bp->groups->new_group_id between the group-details step and the group-settings step. Group settings step is supposed to update the group that was created in the group-details step. See line 1096:
`if ( !$bp->groups->new_group_id = groups_create_group( array( ‘group_id’ => $bp->groups->new_group_id, ‘status’ => $group_status, ‘enable_forum’ => $group_enable_forum ) ) )`
But it’s creating a new one because it didn’t have the id (thus the duplicate empty database entry). Now looking into why the new_group_id isn’t carrying over. I verified it’s being set and shows right after the first save…