PHP Error

Trying to get property of non-object

/home/cesal/public_html/protected/views/investigacion/invUno.php(5)

01 <div class="nosotros_container quienes">
02     <div class="menuTitle">LINEAS&nbsp;</div>
03     <?php echo'<div class="inv'.$number.' invBigBox">';?>
04         <span><?php echo $number+1;?></span>
05         <p class="iTitle"><?php echo $this->project->titulo;?></p>
06         <p class="resumen">
07             <span style="font-size:13px;clear:both;margin:5px 0;display:block;"><?php echo $this->project->subtitulo;?></span>
08         <?php $lines=explode('-',$this->project->resumen);
09             foreach ($lines as $line){
10                 if (trim($line)!='')
11                     echo '<span style="font-size:13px;clear:both;margin:5px 0;display:block;">- '.trim($line).'</span>';
12             }
13         ?>
14         </p>
15         <?php if (Yii::app()->getRequest()->getBaseUrl().$this->project->pdf!="/cesal/cesal"){?>
16         <a class="pdf" href="<?php echo Yii::app()->getRequest()->getBaseUrl().$this->project->pdf;?>" target="_blank">
17             <span class="pdfIcon"></span>

Stack Trace

#4
+
 /home/cesal/public_html/protected/controllers/InvestigacionController.php(25): CController->render("invUno", array("number" => "4"))
20     public function actionInv($id,$number){
21         $this->title = 'Investigacion';
22         $this->selSubMenu = 'lineas';
23         $this->project=Linea::model()->findByPk($id);
24         $this->layout = '/layouts/main2';
25         $this->render('invUno',array('number'=>$number));
26     }
27 
28     public function actionProyectos(){
29         $this->title = 'Investigacion';
30         $this->selSubMenu = 'proyectos';
#14
+
 /home/cesal/public_html/index.php(14): CApplication->run()
09 // specify how many levels of call stack should be shown in each log message
10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
11 
12 header('Content-Type: text/html; charset=utf-8');
13 require_once($yii);
14 Yii::createWebApplication($config)->run();
15 
16 
17 
18 
19 
2002-04-12 20:06:24 Apache/2.4.10 (Debian) Yii Framework/1.1.8