What version of WP are you using? From my research, I found that the language_attributes () function is a new WP.2 function. If you are using a version of Wordpress older than 2.1, you can either remove the function call from the header.php file or upgrade the installation of Wordpress.
source
share