Error Log – Undefined index: HTTP_USER_AGENT

ThemeBurn SupportForumsOpenCart ThemesShoppica OpenCart ThemeError Log – Undefined index: HTTP_USER_AGENT

This topic has been marked as resolved.

Getting the following error twice in my error logs :

PHP Notice: Undefined index: HTTP_USER_AGENT in catalog/model/shoppica/utils.php on line 66

this is my line 66 :

$userAgent = strtolower($_SERVER['HTTP_USER_AGENT']);

whats it about ?

Thanks!

  • This reply was modified 4407 days ago by  stf86.
 stf86
April 25, 2012 at 9:28 pm #8325

Hi!

You can read about the HTTP_USER_AGENT notice here and here

This is fixed in the latest Shoppica release, so make sure you are using the latest Shoppica version.

April 26, 2012 at 3:35 pm #8364
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.