ErrorException [ Notice ]: Undefined index: HTTP_REFERER

APPPATH/classes/controller/index/catalog.php [ 363 ]

358         if(isset($_SERVER['HTTP_X_REQUESTED_WITH'])
359             && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) === 'xmlhttprequest'){
360             echo json_encode($products);
361             exit;
362         } else {
363             $this->request->redirect($_SERVER['HTTP_REFERER']);
364         }
365     }
366 
367     public function getTitle($title){
368         $pos = strpos($title,' ');
  1. APPPATH/classes/controller/index/catalog.php [ 363 ] » Kohana_Core::error_handler(arguments)

  2. {PHP internal call} » Controller_Index_Catalog->action_add3(arguments)

  3. SYSPATH/classes/kohana/request/client/internal.php [ 132 ] » ReflectionMethod->invokeArgs(arguments)

  4. SYSPATH/classes/kohana/request.php [ 1138 ] » Kohana_Request_Client_Internal->execute(arguments)

  5. DOCROOT/index.php [ 109 ] » Kohana_Request->execute()

Environment