ErrorException [ Notice ]: Undefined variable: oBlockItems

APPPATH/views/website/news.php [ 32 ]

27 				<? foreach($oBlocks AS $key=>$oBlock) {
28 					if($key == 0) {
29 						$oBlockItems = $oBlock->getBlockItems();
30 					}
31 				} ?>
32 				<?=Model_Upload::getFromType('blockitem', $oBlockItems[0]->id, null, 1)->render('news');?>
33 			</li>
34 		</ul>
35 
36 		<a href="/<?=__('news')?>"><?=__('site.news.back.to.overview')?></a>
37 
  1. APPPATH/views/website/news.php [ 32 ] » Kohana_Core::error_handler(arguments)

  2. SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)

  3. SYSPATH/classes/kohana/view.php [ 343 ] » Kohana_View::capture(arguments)

  4. APPPATH/classes/controller/news.php [ 14 ] » Kohana_View->render()

  5. {PHP internal call} » Controller_News->action_index()

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

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

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

  9. DOCROOT/index.php [ 91 ] » Kohana_Request->execute()

Environment