Index: wp-includes/user.php
===================================================================
--- wp-includes/user.php	(revision 18407)
+++ wp-includes/user.php	(working copy)
@@ -657,6 +657,7 @@
 	if ( !is_multisite() ) {
 		$blog_id = get_current_blog_id();
 		$blogs = array();
+		$blogs[ $blog_id ] = (object) $blogs[ $blog_id ];
 		$blogs[ $blog_id ]->userblog_id = $blog_id;
 		$blogs[ $blog_id ]->blogname = get_option('blogname');
 		$blogs[ $blog_id ]->domain = '';
Index: wp-includes/class-wp-admin-bar.php
===================================================================
--- wp-includes/class-wp-admin-bar.php	(revision 18407)
+++ wp-includes/class-wp-admin-bar.php	(working copy)
@@ -164,6 +164,7 @@
 	function add_node( $parent_id, &$menu, $child ) {
 		foreach( $menu as $id => $menu_item ) {
 			if ( $parent_id == $id ) {
+			    $menu->{$parent_id}['children'] = (object) $menu->{$parent_id}['children'];
 				$menu->{$parent_id}['children']->{$child['id']} = $child;
 				$child = null;
 				return true;
Index: wp-admin/includes/theme.php
===================================================================
--- wp-admin/includes/theme.php	(revision 18407)
+++ wp-admin/includes/theme.php	(working copy)
@@ -20,6 +20,7 @@
 		delete_option( 'current_theme' );
 		$current_theme = get_current_theme();
 	}
+	$ct = new stdClass();
 	$ct->name = $current_theme;
 	$ct->title = $themes[$current_theme]['Title'];
 	$ct->version = $themes[$current_theme]['Version'];
