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(158): spl_autoload_call("EnglishAgeGroups")
153         
154         $this->setBottomText(CachedTranslator::getInstance()->t('tutorials',"bottom_text",$type));
155         
156         $this->grade = "1st";
157 
158         $group = EnglishAgeGroups::model()->getWithTutorials(2);
159         $this->render('sixseven', array(
160                                        "group" => $group,
161                                   ));
162     }
163 
#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-29 10:24:21 Apache Yii Framework/1.1.6