tags:

views:

139

answers:

3

How do I fix the following error.

Fatal error: Call to undefined function language_attributes()

A: 

It looks as if your theme either did not upload correctly, or it is not compatible with the version of wordpress that you are using.

Andrew Austin
A: 

This can happen if you have no wp-config.php file. Rename the wp-config-sample.php file to wp-config.php, edit the db-settings and try again.

windyjonas
+1  A: 

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

leadingzero