Solution:1
Got it!
In wp-content\plugins\sitepress-multilingual-cms\sitepress.php, there is the following lines
if ( function_exists(‘is_multisite’) && is_multisite() ) {
include_once( ABSPATH . WPINC . ‘/vars.php’ );
}
This lines include the file /wp-includes/vars.php where the function wp_is_mobile() is declared. Then WordPress include this vars.php file again and produce an logical error.
Before WP 3.4 release there was no visible problem as there was no functions into vars.php. But now there is.
I think wpml doesn’t need to include this file as it’s already include by WordPress.
So a bypass can be : Comment lines 21-24 in “wp-content\plugins\sitepress-multilingual-cms\sitepress.php”
Hope WPML can fix it more proprely in next plugin release.