ErrorException [ Notice ]: Undefined variable: lang

MODPATH/frontend/views/frontend/layout.php [ 18 ]

13 <?php echo View::Factory('frontend/partials/footer', get_defined_vars() ); ?>
14 
15 	
16 <!--	popup-->
17 	<?php 
18 		if($lang == "hu"){
19 			echo View::Factory('frontend/partials/popups-hu');
20 		} 
21 	else if($lang == "en"){
22 			echo View::Factory('frontend/partials/popups-en');
23 		} 
  1. MODPATH/frontend/views/frontend/layout.php [ 18 ] » Kohana_Core::error_handler(arguments)

  2. SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)

  3. SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)

  4. MODPATH/frontend/classes/HTTP/Exception/404.php [ 21 ] » Kohana_View->render()

  5. SYSPATH/classes/Kohana/Request.php [ 983 ] » HTTP_Exception_404->get_response()

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

Environment