ErrorException [ Notice ]: Trying to access array offset on value of type int

APPPATH/views/frontend/public/index.php [ 32 ]

27 				$images_preload_html = '';
28 				foreach($articles as $key => $article) {
29 					$image = $article->images->find();
30 					$size = $image->uid ? getimagesize($image->image_file(Model_Article_Image::BIG_NAME)) : 0;
31 			?>
32 			<div class="article_image width" style="background-image:url('<?php echo $image->url(Model_Article_Image::BIG_NAME); ?>'); z-index:<?php echo 900-$key; ?>;" data-width="<?php echo $size[0]; ?>" data-height="<?php echo $size[1]; ?>">
33 				<div class="hor_centered">
34 					<div class="ver_centered">
35 						<?php
36 							echo HTML::anchor('/article/'.$article->url_title, $article->header, array('title' => $article->header, 'class' => 'article_slide_header'));
37 							echo HTML::anchor('/article/'.$article->url_title, HTML::__('Read more'), array('title' => $article->header, 'class' => 'article_link'));
  1. APPPATH/views/frontend/public/index.php [ 32 ] » Kohana_Core::error_handler()

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

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

  4. MODPATH/avo/classes/View.php [ 15 ] » Kohana_View->render()

  5. APPPATH/views/frontend/layout.php [ 50 ] » View->__toString()

  6. SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)

  7. SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture()

  8. SYSPATH/classes/Kohana/Controller/Template.php [ 44 ] » Kohana_View->render()

  9. MODPATH/avo/classes/AVO/Controller.php [ 146 ] » Kohana_Controller_Template->after()

  10. APPPATH/classes/Controller/Public.php [ 24 ] » AVO_Controller->after()

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

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

  13. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke()

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

  15. SYSPATH/classes/Kohana/Request.php [ 990 ] » Kohana_Request_Client->execute()

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

Environment