Logout do not work for seconfary language with WPML

My configuration:
Wordpress 3.3.1
Buddypress Community Theme 1.4.2
BuddyPress Multilingual 1.3.0
WPML Multilingual CMS 2.4.3

When I use secondary language, logout do not work, it is very slow and it consume a large amount of resources on the server.

I saw in the source code that you use an obsolete function.