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

APPPATH/views/promozione_singola.php [ 11 ]

 6   <link rel="icon" type="image/ico" href="/media/images/icon_prontoporte.png" /> 
 7   <link rel="shortcut icon" href="/media/images/icon_prontoporte.png" type="image/x-icon" /> 
 8   <link rel="apple-touch-icon" href="/media/images/icon_prontoporte.png" /> 
 9   <title>Porte e scale per interni - Vallo della Lucania Cilento - Salerno - Pronto Porte srl</title> 
10   <?PHP  $locale = Helper_Locale::get();		?>
11                <?PHP  $ris_foto_t =  ORM::factory('Blog')->get_foto_principale($object->id, 'medium'); ?>
12                <?PHP  $ris_foto_l =  ORM::factory('Blog')->get_foto_principale($object->id, 'large'); ?>
13                <?PHP  $ris_didascalia =  ORM::factory('Blog')->get_didascalia_principale($object->id); ?>
14 	<meta charset="utf-8">
15 
16 	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  1. APPPATH/views/promozione_singola.php [ 11 ] » Kohana_Core::error_handler()

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

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

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

  5. SYSPATH/classes/Kohana/Response.php [ 160 ] » Kohana_View->__toString()

  6. APPPATH/classes/Controller/Home.php [ 470 ] » Kohana_Response->body()

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

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

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

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

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

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

Environment