title: Yii PHP Recoverable error
body: <p>I'm use Yii PHP framework but i cant write this code, what's the true ?</p>
  
  <pre><code>&lt;?php 
  if ( Yii::app()-&gt;user-&gt;isGuest != 1 ){ 
  $guest =  "&lt;div class='box admin'&gt;" .
  $this-&gt;beginWidget('zii.widgets.CPortlet', array(
              'title'=&gt;'Admin menu',
          ));
          $this-&gt;widget('zii.widgets.CMenu', array(
              'items'=&gt;$this-&gt;menu,
              'htmlOptions'=&gt;array('class'=&gt;'operations'),
          ));
          $this-&gt;endWidget();
  
  "&lt;/div&gt;";
  }
   else { $guest = ""; };
  ?&gt;
  
  &lt;?php
  
  echo $guest;
  
  ?&gt;
  </code></pre>
  
  <p><strong>ERROR MESSAGE:</strong></p>
  
  <pre><code>Recoverable error
  </code></pre>