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

APPPATH/views/promozione_singola.php [ 94 ]

89 
90                 <!-- Blog Post -->
91 
92 <!-- Blog Post -->
93 
94 <h2> <?PHP echo $object->titolo;?></h2>
95 <?PHP
96 $img_src = ORM::factory('Blog')->get_foto_principale($object->id, 'large', 'it');
97 if($img_src != '/public/sample.jpg'): ?>
98 <img class="img-responsive" src="<?PHP echo $img_src; ?>" alt="">
99     <?PHP endif; ?>
  1. APPPATH/views/promozione_singola.php [ 94 ] » 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. APPPATH/classes/Controller/Home.php [ 164 ] » Kohana_Response->body(arguments)

  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(arguments)

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

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

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

Environment