Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Uncaught Error: Call to undefined function language_attributes()

Discussion in 'Misc WordPress Requests' started by greencode, Mar 29, 2018.

  1. greencode

    Guest

    Uncaught Error: Call to undefined function language_attributes(), by greencode

    I seem to be getting these appear in my error log, but only recently and I’ve been running WordPress sites for years.

    PHP Fatal error: Uncaught Error: Call to undefined function language_attributes() in /home/public_html/wp-content/themes/sitetheme/header.php:2

    My header is

    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>

    Any ideas or help would be much appreciated.

    Uncaught Error: Call to undefined function language_attributes()
     
    #1

Share This Page

Monarch Social Sharing Plugin