CException

Property "User.create_survey" is not defined.

/var/www/lsurv.portaone.com/qqq/framework/db/ar/CActiveRecord.php(161)

149      * PHP setter magic method.
150      * This method is overridden so that AR attributes can be accessed like properties.
151      * @param string $name property name
152      * @param mixed $value property value
153      */
154     public function __set($name,$value)
155     {
156         if($this->setAttribute($name,$value)===false)
157         {
158             if(isset($this->getMetaData()->relations[$name]))
159                 $this->_related[$name]=$value;
160             else
161                 parent::__set($name,$value);
162         }
163     }
164 
165     /**
166      * Checks if a property value is null.
167      * This method overrides the parent implementation by checking
168      * if the named attribute is null or not.
169      * @param string $name the property name or the event name
170      * @return boolean whether the property value is null
171      */
172     public function __isset($name)
173     {

Stack Trace

#1
+
 /var/www/lsurv.portaone.com/qqq/application/core/plugins/Authwebserver/Authwebserver.php(92): CActiveRecord->__set("create_survey", 1)
87             $oUser->password=hash('sha256', createPassword());
88             $oUser->full_name=$aUserProfile['full_name'];
89             $oUser->parent_id=1;
90             $oUser->lang=$aUserProfile['lang'];
91             $oUser->email=$aUserProfile['email'];
92             $oUser->create_survey=$aUserProfile['create_survey'];
93             $oUser->create_user=$aUserProfile['create_user'];
94             $oUser->delete_user=$aUserProfile['delete_user'];
95             $oUser->superadmin=$aUserProfile['superadmin'];
96             $oUser->configurator=$aUserProfile['configurator'];
97             $oUser->manage_template=$aUserProfile['manage_template'];
#3
+
 /var/www/lsurv.portaone.com/qqq/application/libraries/PluginManager/PluginManager.php(171): call_user_func(array(Authwebserver, "newUserSession"))
166                 {
167                     if (!$event->isStopped() 
168                      && (empty($target) || in_array(get_class($subscription[0]), $target))) 
169                     {
170                         $subscription[0]->setEvent($event);
171                         call_user_func($subscription);
172                     }
173                 }
174             }
175             
176             return $event;
#4
+
 /var/www/lsurv.portaone.com/qqq/application/core/LSUserIdentity.php(69): PluginManager->dispatchEvent(PluginEvent, array("Authwebserver"))
64                 $result->setError(self::ERROR_UNKNOWN_HANDLER);
65             } else {
66                 // Delegate actual authentication to plugin
67                 $authEvent = new PluginEvent('newUserSession', $this);
68                 $authEvent->set('identity', $this);
69                 App()->getPluginManager()->dispatchEvent($authEvent, array($this->plugin));
70                 $pluginResult = $authEvent->get('result');
71                 if ($pluginResult instanceof LSAuthResult) {
72                     $result = $pluginResult;
73                 } else {
74                     $result->setError(self::ERROR_UNKNOWN_IDENTITY);
2013-11-14 10:38:47 Apache/2.2.15 (CentOS) Yii Framework/1.1.14