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

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

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