• I get this error message when I change my wordpress theme to something newer:

    Fatal error: Call to undefined function: language_attributes() in /home/mewnu/public_html/wp-content/themes/sakura3/header.php on line 2

    What might this mean? Can I type in some code or change something to make the header problem disappear?

    (I’m using an older version of wordpress because I’ve been having problems with adding journals and catagories, etc… with wp 2.2)

Viewing 3 replies - 1 through 3 (of 3 total)
  • I get the same problem not for only 1 theme but so many themes.

    are you running the current version of wp? (2.3.3)

    I am with the same problem:
    Fatal error: Call to undefined function language_attributes() in /www/gigacities.net/n/a/r/narutoclan/htdocs/wp-content/themes/narutowp/header.php on line 2
    this is part of the code in header.php :

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
    <html xmlns=”https://www.w3.org/1999/xhtml&#8221; <?php language_attributes(); ?>> // the error is here

    If I edit the code and load the page that now can load , but with this new error:

    Fatal error: Call to undefined function wp_list_categories() in /www/gigacities.net/n/a/r/narutoclan/htdocs/wp-content/themes/narutowp/sidebar.php on line 9

    this is part of the code in sidebar.php :
    <table width=”205″ border=”0″ cellspacing=”0″ cellpadding=”0″ align=”right”>
    <tr>
    <td>
    <table width=”205″ border=”0″ cellspacing=”0″ cellpadding=”0″>
    <tr>
    <td class=”categories” width=”205″ height=”34″></td>
    </tr>
    <tr>
    <td valign=”top” align=”left”>

      <?php wp_list_categories(‘title_li=’); ?>

    </td>
    </tr>
    </table>
    the code is in bold!!

    if I edit that the page loads with no error but all messed up!!

    I little help wou be very nice here because I program in c C++ and java but in html i never tried before and I just want to put this blog online to publish a fan site of naruto with the videos and pehaps the subtittles at the same day they release in japan!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘language_attributes problems in header.php in themes.’ is closed to new replies.