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

APPPATH/views/public/articol.php [ 45 ]

40             <?if(count($files)):?>
41             <h2 style="<?if(count($images)){?>padding-top:15px;<?}?>margin-bottom:15px;">Atașamente</h2>
42             <div style='clear:both;' class='gelerie_atasamente'>
43             <?foreach($files as $f):?>
44                 <?$file = $f->get_image();?>
45                 <a href="<?= $file->big ?>"> 
46                     <?=$f->name;?>
47                 </a>             
48             <?endforeach;?>
49             </div>
50             <?endif;?>            
  1. APPPATH/views/public/articol.php [ 45 ] » Kohana_Core::error_handler(arguments)

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

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

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

  5. APPPATH/views/public/template.php [ 47 ] » Kohana_View->__toString()

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

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

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

  9. APPPATH/classes/Controller/Public/Standard.php [ 28 ] » Kohana_Controller_Template->after()

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

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

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

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

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

  15. DOCROOT/index.php [ 121 ] » Kohana_Request->execute()

Environment