CException

Właściwość "RegistrationForm.password" nie jest zdefiniowana.

/var/www/vhosts/radiotp.pl/httpdocs/yii/framework2/db/ar/CActiveRecord.php(144)

132      */
133     public function __get($name)
134     {
135         if(isset($this->_attributes[$name]))
136             return $this->_attributes[$name];
137         else if(isset($this->getMetaData()->columns[$name]))
138             return null;
139         else if(isset($this->_related[$name]))
140             return $this->_related[$name];
141         else if(isset($this->getMetaData()->relations[$name]))
142             return $this->getRelated($name);
143         else
144             return parent::__get($name);
145     }
146 
147     /**
148      * PHP setter magic method.
149      * This method is overridden so that AR attributes can be accessed like properties.
150      * @param string $name property name
151      * @param mixed $value property value
152      */
153     public function __set($name,$value)
154     {
155         if($this->setAttribute($name,$value)===false)
156         {

Stack Trace

#5
+
 /var/www/vhosts/radiotp.pl/httpdocs/protected/modules/user/views/user/registration.php(38): CActiveForm->passwordField(RegistrationForm, "password")
33     <?php echo $form->error($model,'username'); ?>
34     </div>
35     
36     <div class="row">
37     <?php echo $form->labelEx($model,'password'); ?>
38     <?php echo $form->passwordField($model,'password'); ?>
39     <?php echo $form->error($model,'password'); ?>
40     <p class="hint">
41     <?php echo UserModule::t("Minimal password length 4 symbols."); ?>
42     </p>
43     </div>
#10
+
 /var/www/vhosts/radiotp.pl/httpdocs/protected/modules/user/controllers/RegistrationController.php(77): CController->render("/user/registration", array("model" => RegistrationForm, "profile" => Profile))
72                                 $this->refresh();
73                             }
74                         }
75                     } else $profile->validate();
76                 }
77                 $this->render('/user/registration',array('model'=>$model,'profile'=>$profile));
78             }
79     }
80 }?>
#18
+
 /var/www/vhosts/radiotp.pl/httpdocs/index.php(19): CApplication->run()
14     error_reporting(E_ALL & ~(E_STRICT|E_NOTICE)); 
15     ini_set("display_errors", 1); 
16     ini_set("apc.cache_by_default", 0);
17 }
18 require_once($yii);
19 Yii::createWebApplication($config)->run();
2024-03-19 09:46:06 Apache Yii Framework/1.1.9