ErrorException [ Notice ]: Trying to get property of non-object

APPPATH/views/aradopen/pages/home.php [ 88 ]

83                             <?php foreach($news as $new): ?>
84                             <div class="item-three-column stire">
85                                 <div class="iconbox">
86                                     <div class="box-header">
87                                         <a href="<?= Route::url('news', array('id'=>$new->id, 'alias'=>$new->alias, 'lang' => I18n::lang())) ?>">
88                                             <img class="img-responsive" src="<?=$new->getPhoto()->small?>" alt="images">
89                                         </a>
90                                         <h4 class="box-title"><a href="<?= Route::url('news', array('id'=>$new->id, 'alias'=>$new->alias, 'lang' => I18n::lang())) ?>"> <?=$new->title?></a></h4>
91                                     </div>
92                                     <div class="box-content">
93                                         <?=substr(strip_tags($new->html),0,140).'...'?>
  1. APPPATH/views/aradopen/pages/home.php [ 88 ] » 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. APPPATH/views/aradopen/layout.php [ 175 ] » Kohana_View->__toString()

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

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

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

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

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

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

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

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

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

Environment