ErrorException [ Notice ]: Undefined index: HTTP_ACCEPT_LANGUAGE

APPPATH/classes/Useful.php [ 117 ]

112         else
113         {
114             $cookie = '';
115         }
116 
117         $user = md5($_SERVER['HTTP_USER_AGENT'].$_SERVER['HTTP_ACCEPT_LANGUAGE'].$cookie.$ip);
118 
119         $data = array(
120             'visitor_hash' => $user,
121             'visit_date' => date('Y-m-d H:i:s'),
122             'content_type' => $model,
  1. APPPATH/classes/Useful.php [ 117 ] » Kohana_Core::error_handler(arguments)

  2. APPPATH/classes/Controller/Content/Post.php [ 228 ] » Useful->_add_view(arguments)

  3. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Content_Post->action_index()

  4. {PHP internal call} » Kohana_Controller->execute()

  5. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)

  6. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  7. SYSPATH/classes/Kohana/Request.php [ 997 ] » Kohana_Request_Client->execute(arguments)

  8. DOCROOT/index.php [ 118 ] » Kohana_Request->execute()

Environment