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

APPPATH/views/sezione_amministrazione_trasparente.php [ 21 ]

16 $img_url = "https://".$_SERVER['SERVER_NAME']."/public/blog/".$object->id."/immagini/medium/".$ris_foto_p->nome;
17 $img_size = getimagesize($img_url);
18 endif; 
19 ?>
20 
21   <meta property="og:title" content="<?PHP echo $object->titolo; ?> - Ordine Commercialisti ed Esperti Contabili Vallo della Lucania"/>
22   <?php if(isset($ris_foto_p->nome)) { ?>
23 <meta property="og:image" content="https://<?PHP echo $_SERVER['SERVER_NAME']; ?>/public/blog/<?PHP echo $object->id ?>/immagini/medium/<?PHP echo $ris_foto_p->nome ?>"/>
24 
25 <!--<meta property="og:image:secure" content="http://<?PHP //echo $_SERVER['SERVER_NAME']; ?>/public/blog/<?PHP //echo $object->id ?>/immagini/medium/<?PHP //echo $ris_foto_p->nome ?>"/>-->
26 <meta property="og:image:width" content="<?PHP echo $img_size[0]?>"/>
  1. APPPATH/views/sezione_amministrazione_trasparente.php [ 21 ] » 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 [ 1030 ] » Kohana_Response->body()

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

  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