Index: /trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/xpress_common_functions.php
===================================================================
--- /trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/xpress_common_functions.php	(revision 539)
+++ /trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/xpress_common_functions.php	(revision 540)
@@ -137,7 +137,11 @@
 	require_once get_xpress_dir_path() . '/include/xpress_block_render.php'; 
 
-
 	foreach($blocks as $block){ 
 		$func_file = $block->func_file; 
+		
+		// Avoid the failure of the operation when switch_to_blog() and other plugin code is called on the admin page.
+		$excludes = '|global_recent_posts_list_block.php|my_.*_block.php|';
+		if (preg_match('/' . $excludes . '/' , $func_file)) continue;
+		
 		$call_theme_function_name = str_replace(".php", "", $func_file); 
 		$inc_theme_file_name = str_replace(".php", "", $func_file) . '_theme.php'; 
Index: /trunk/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/blog_list_block_theme.php
===================================================================
--- /trunk/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/blog_list_block_theme.php	(revision 539)
+++ /trunk/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/blog_list_block_theme.php	(revision 540)
@@ -3,5 +3,4 @@
 function blog_list_block($options)
 {
-	if(is_admin()) return; // wp-admin page is not exists
 	$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
 	$this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_block_category.html' : trim( $options[1] );
Index: /trunk/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/global_recent_posts_list_block_theme.php
===================================================================
--- /trunk/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/global_recent_posts_list_block_theme.php	(revision 539)
+++ /trunk/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/global_recent_posts_list_block_theme.php	(revision 540)
@@ -3,5 +3,4 @@
 function global_recent_posts_list_block($options)
 {
-	if (is_admin()) return;
 	$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
 	$this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_recent_posts_list_block.html' : trim( $options[1] );
