PHP Error When Moving to Localhost
<p>I have been getting the following error:
Non-static method CBaseController::createWidget() should not be called statically</p>

<p>This is working fine on my hosting site, but when I import to Netbeans 7.2.1, I'm receiving these errors.</p>

<p>PHP version is 5.3</p>

<pre><code>array(
            'name' =&gt; 'Rating',
            'type'=&gt;'raw',
            'value' =&gt; 
      'Controller::createWidget("CStarRating",
                      array(
                          "name"=&gt;"rating-".$data-&gt;id,                  
                          "allowEmpty"=&gt;true,
                          "minRating"=&gt;1,
                          "maxRating"=&gt;4,
                          "starCount"=&gt;4,
                          "readOnly"=&gt;true,
                          "value"=&gt;$data-&gt;getStarRating(),           
                          "id"=&gt;"rating-".$data-&gt;id
                          ))-&gt;run(); ',
        ),     
</code></pre>

<p>Any ideas?</p>
