Support » Fixing WordPress » HTTP User agent

  • Hi
    this kept on showing up on my website please help

    ‘HTTP_USER_AGENT’ (this will throw an Error in a future version of PHP) in /home/spinaliv/public_html/wp-content/themes/salient/header.php on line 1

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi 🙂
    This is a theme problem, if you want fix it yourself, try edit the file:
    1.go to your cpanel or ftp
    2.open header.php in /home/spinaliv/public_html/wp-content/themes/salient/
    3. Find $_SERVER[HTTP_USER_AGENT] in first line, simple replace it by $_SERVER['HTTP_USER_AGENT']

    then, it should be fixed…

    Thread Starter dgsafwanah

    (@dgsafwanah)

    Hi!
    thank you for your reply.

    but where can i find cpanel or ftp?

    Please contact your host/website provider, for better help.

    It need edit theme and you may do something wrong and down your website.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘HTTP User agent’ is closed to new replies.