In the Ullman two-table department-employee app (I’d give the url if I could, but as a new poster I’m not allowed), line 9 in the generated form for both Employee and Department, which in each case says …
<?php $form=$this->beginWidget(‘CActiveForm’, array(
generates a fatal PHP error which my PHP editor (PHP Designer) reports as …
Fatal error: Call to a member function beginWidget() on a non-object in C:\apache\htdocs\php\yii\apps\test\protected\views\employee\_form.php on line 9
How do I fix that?