ErrorException [ Notice ]: Undefined offset: 1

APPPATH/views/mainplate.php [ 153 ]

148 						}
149 
150 						if ($when_link!=""){
151 						$city_array = explode(",", $citystring);
152 						?>
153                             <a href="<?php echo $when_link ?>" style="padding-right: 20px;" title="fashion sales and deals with When" target="_blank"><?php echo __('Fashion sales in ').$city_array[1]?></a>
154 						<?php } ?>
155                             <a href="<?=URL::site('home')?>"><?php echo __('Home')?></a>
156                             <a href="<?=URL::site('blog')?>"><?php echo __('Blog')?></a>
157 							<a href="<?=URL::site('add/business')?>" accesskey="4" title="<?php echo __('Add a Listing')?>"><?=__('Add a Listing')?></a>
158 								 <?php  if (Auth::instance()->logged_in()){
  1. APPPATH/views/mainplate.php [ 153 ] » 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. SYSPATH/classes/Kohana/View.php [ 236 ] » Kohana_View->render()

  5. SYSPATH/classes/Kohana/Response.php [ 169 ] » Kohana_View->__toString()

  6. MODPATH/user2/classes/Controller/Useradmin/App.php [ 144 ] » Kohana_Response->body(arguments)

  7. APPPATH/classes/Controller/Mainplate.php [ 142 ] » Controller_Useradmin_App->after()

  8. SYSPATH/classes/Kohana/Controller.php [ 87 ] » Controller_Mainplate->after()

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

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

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

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

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

Environment