Index: bp-core/admin/bp-core-admin.php
===================================================================
--- bp-core/admin/bp-core-admin.php	(revision 4028)
+++ bp-core/admin/bp-core-admin.php	(working copy)
@@ -333,7 +333,7 @@
 	}
 
 	// On new install, set all components to be active by default
-	if ( 'install' == $bp_wizard->setup_type && empty( $active_components ) )
+	if ( isset($bp_wizard->setup_type) && 'install' == $bp_wizard->setup_type && empty( $active_components ) )
 		$active_components = $optional_components;
 
 	?>
