2, 2012 - Вестник Красноярского государственного аграрного университета

ErrorException [ Warning ]: Trying to access array offset on null

APPPATH/views/issue/contents.php [ 19 ]

14 
15 <?$rubrics  = $contents['rubrics']?>
16 <?$curr_rub = null; // Текущая рубрика?>
17 
18 <?foreach($contents['list'] as $row):?>
19 	<?$rub_id	= $row['rub_id']?>
20 	<?$rub_name	= (isset($rub_id) AND isset($rubrics[$rub_id])) ? $rubrics[$rub_id]['title'] : NULL?>
21 	<div class="contents_item-w">
22 		<?if(isset($rub_name) AND $rub_id !== $curr_rub):?>	
23 			<h3><?=$rub_name?></h3>
24 		<?endif?>
  1. APPPATH/views/issue/contents.php [ 19 ] » Kohana_Core::error_handler()

  2. APPPATH/views/issue/view.php [ 55 ] » include(arguments)

  3. APPPATH/classes/view.php [ 44 ] » include(arguments)

  4. SYSPATH/classes/Kohana/View.php [ 359 ] » View::capture()

  5. SYSPATH/classes/Kohana/View.php [ 236 ] » Kohana_View->render()

  6. APPPATH/views/layout/document.php [ 150 ] » Kohana_View->__toString()

  7. APPPATH/classes/view.php [ 44 ] » include(arguments)

  8. SYSPATH/classes/Kohana/View.php [ 359 ] » View::capture()

  9. SYSPATH/classes/Kohana/View.php [ 236 ] » Kohana_View->render()

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

  11. APPPATH/classes/controller.php [ 18 ] » Kohana_Response->body()

  12. APPPATH/classes/controller/front/main.php [ 23 ] » Controller->after()

  13. APPPATH/classes/controller/front/document.php [ 48 ] » Controller_Front_Main->after()

  14. APPPATH/classes/controller.php [ 94 ] » Controller_Front_Document->after()

  15. {PHP internal call} » Controller->execute()

  16. APPPATH/classes/request/client/internal.php [ 126 ] » ReflectionMethod->invoke()

  17. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Request_Client_Internal->execute_request()

  18. APPPATH/classes/request.php [ 191 ] » Kohana_Request_Client->execute()

  19. DOCROOT/index.php [ 166 ] » Request->execute()

Environment