PHP Error

Descriere

Declaration of User::afterValidate() should be compatible with CModel::afterValidate($scenario)

Fisierul sursa

/home/goldfmro/public_html/protected/models/User.php(4)

00001: <?php
00002: 
00003: class User extends CActiveRecord
00004: {
00005: 00006: const STATUS_ADMIN=10; 00007: const STATUS_WRITER=1; 00008: const STATUS_VISITOR=2; 00009: const STATUS_GUEST=3; 00010: 00011: const BANNED_NO=0; 00012: const BANNED_YES=1; 00013: 00014: /** 00015: * @var string this property is used to collect user verification code input 00016: */

Stack Trace

#0 /home/goldfmro/public_html/yii-1.0.12.r1898/framework/YiiBase.php(338): include()
#1 unknown(0): autoload()
#2 /home/goldfmro/public_html/protected/components/BaseController.php(26): spl_autoload_call()
#3 /home/goldfmro/public_html/yii-1.0.12.r1898/framework/web/CWebApplication.php(309): PostController->init()
#4 /home/goldfmro/public_html/yii-1.0.12.r1898/framework/web/CWebApplication.php(120): CWebApplication->runController()
#5 /home/goldfmro/public_html/yii-1.0.12.r1898/framework/base/CApplication.php(135): CWebApplication->processRequest()
#6 /home/goldfmro/public_html/index.php(337): CWebApplication->run()
2014-09-18 06:36:22 LiteSpeed Yii Framework/1.0.12