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

MODPATH/gallery/views/view_image_modal.php [ 12 ]

 7 
 8           <div class="center" style="text-align: center; position: relative;">   
 9            
10        
11        <? $img = Model_Pict::get_by_id($id); ?>       
12        <img src="<?=$img->path?><?=$img->filename?>.<?=$img->ext?>" class="img-rounded img-responsive center-block"/>
13        
14        
15        
16        <? if(!empty($img->title)) $img_title = $img->title;
17        else $img_title = NULL;
  1. MODPATH/gallery/views/view_image_modal.php [ 12 ] » 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. SYSPATH/classes/Kohana/Response.php [ 160 ] » Kohana_View->__toString()

  6. MODPATH/gallery/classes/Controller/Galleryajax.php [ 40 ] » Kohana_Response->body(arguments)

  7. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Galleryajax->action_pict()

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

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

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

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

  12. DOCROOT/index.php [ 120 ] » Kohana_Request->execute()

Environment