ErrorException [ Notice ]: Undefined index: search

APPPATH/classes/controller/index.php [ 232 ]

227     
228     
229     public function action_search() 
230     {
231         $this->template->content = new View('frontend/search');
232         $this->template->content->entries = ORM::factory('project')->where('status', '=', 'active')->where('pl', 'LIKE', '%' . $_GET['search'] . '%')->or_where('ru', 'LIKE', '%' . $_GET['search'] . '%')->or_where('de', 'LIKE', '%' . $_GET['search'] . '%')->or_where('it', 'LIKE', '%' . $_GET['search'] . '%')->or_where('en', 'LIKE', '%' . $_GET['search'] . '%')->or_where('ua', 'LIKE', '%' . $_GET['search'] . '%')->find_all();
233         $this->template->lang = $this->template->content->lang = $this->lang;
234         $this->template->configuration = $this->template->content->configuration = ORM::factory('configuration')->find(1);
235     }
236     
237     
  1. APPPATH/classes/controller/index.php [ 232 ] » Kohana_Core::error_handler()

  2. {PHP internal call} » Controller_Index->action_search()

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

  4. SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)

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

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

Environment