PHP Error

Declaration of EnglishAgeGroups::model() should be compatible with CActiveRecord::model($className = 'CActiveRec...')

/home/sensel5/public_html/minddev/mindtest/protected/modules/english/models/EnglishAgeGroups.php(0)

Stack Trace

#2
+
 /home/sensel5/public_html/minddev/mindtest/protected/modules/english/controllers/TutorialsController.php(209): spl_autoload_call("EnglishAgeGroups")
204         $this->setBottomText(CachedTranslator::getInstance()->t('tutorials',"bottom_text",$type));
205         
206         $this->grade = "3nd";
207 
208         $this->layoutClass = 'eightNine';
209         $group = EnglishAgeGroups::model()->getWithTutorials(4);
210         $next = count($group->tutorials) > ($offset + 1) * self::EIGHT_NINE_COUNT;
211         $group->tutorials = array_slice($group->tutorials, $offset * self::EIGHT_NINE_COUNT, self::EIGHT_NINE_COUNT);
212         $prev = $offset > 0;
213         $this->render('eightnine', array(
214                                         "group" => $group,
#11
+
 /home/sensel5/public_html/minddev/mindtest/index.php(34): CApplication->run()
29     ini_set('display_errors', false);
30     error_reporting(0);
31 }
32 $configFile = (YII_DEBUG === true) ? 'dev.php' : 'production.php';
33 require_once($yii);
34 Yii::createWebApplication($config . $configFile)->run();
2024-03-28 21:20:31 Apache Yii Framework/1.1.6