ErrorException [ Fatal Error ]: Call to a member function image() on null

APPPATH/views/inzerat.php [ 7 ]

 2     <span class="arrow"></span>
 3 
 4     <div class="content2">
 5 
 6 
 7         <?php if ($estate->image() !== NULL): ?>
 8             <div class="big-image">
 9                 <div id="gallery" >
10 
11                     <?php foreach ($estate->Fotos->find_all() as $i): ?>
12 
  1. {PHP internal call} » Kohana_Core::shutdown_handler()

Environment