ErrorException [ Notice ]: Undefined index:

APPPATH/classes/Controller/Welcomen.php [ 242 ]

237 					1			=> 'https://desperado.cz/clanek-',
238 					2			=> 'https://atlasmest.cz/mesto-',
239 					3			=> 'https://atlaspamatek.info/pamatka-',
240 				);
241 				
242 				$this->redirect($websites[$data['website_id']].$clanek_id.'-'.$clanek_url.'.html',301);
243 				
244 				
245 			}
246 			
247 			if(!empty($data['random']))
  1. APPPATH/classes/Controller/Welcomen.php [ 242 ] » Kohana_Core::error_handler(arguments)

  2. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Welcomen->action_detail()

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

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

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

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

  7. DOCROOT/index.php [ 123 ] » Kohana_Request->execute()

Environment