CException

A propriedade "PluginDynamic.reason" não está definida.

/var/www/html/limesurvey/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/html/limesurvey/plugins/AuditLog/AuditLog.php(328): CActiveRecord->__set("reason", null)
323                 $oAutoLog->uid=$currentUID;
324                 $oAutoLog->entity='survey_' . $iSurveyID;
325                 $oAutoLog->action="import";
326                 $oAutoLog->newvalues=json_encode($aValues);
327                 $oAutoLog->fields=implode(',',array_keys($aValues));
328                 $oAutoLog->reason=App()->request->getPost("reason");
329                 $oAutoLog->save();
330             }
331         }
332 
333         /**
#3
+
 /var/www/html/limesurvey/application/libraries/PluginManager/PluginManager.php(192): call_user_func(array(AuditLog, "beforeDataEntryImport"))
187                 {
188                     if (!$event->isStopped()
189                      && (empty($target) || in_array(get_class($subscription[0]), $target)))
190                     {
191                         $subscription[0]->setEvent($event);
192                         call_user_func($subscription);
193                     }
194                 }
195             }
196 
197             return $event;
#4
+
 /var/www/html/limesurvey/application/controllers/admin/dataentry.php(383): ls\pluginmanager\PluginManager->dispatchEvent(PluginEvent)
378                }
379 
380                $beforeDataEntryImport = new PluginEvent('beforeDataEntryImport');
381                $beforeDataEntryImport->set('iSurveyID',$iSurveyId);
382                $beforeDataEntryImport->set('oModel',$targetResponse);
383                App()->getPluginManager()->dispatchEvent($beforeDataEntryImport);
384 
385                $imported++;
386                $targetResponse->save();
387                $aSRIDConversions[$iOldID]=$targetResponse->id;
388                unset($targetResponse);
2017-05-10 14:48:44 Apache Yii Framework/1.1.17