CException

tokens and its behaviors do not have a method or closure named "handletokenform".

/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_develop/framework/base/CComponent.php(266)

254     public function __call($name,$parameters)
255     {
256         if($this->_m!==null)
257         {
258             foreach($this->_m as $object)
259             {
260                 if($object->getEnabled() && method_exists($object,$name))
261                     return call_user_func_array(array($object,$name),$parameters);
262             }
263         }
264         if(class_exists('Closure', false) && ($this->canGetProperty($name) || property_exists($this, $name)) && $this->$name instanceof Closure)
265             return call_user_func_array($this->$name, $parameters);
266         throw new CException(Yii::t('yii','{class} and its behaviors do not have a method or closure named "{name}".',
267             array('{class}'=>get_class($this), '{name}'=>$name)));
268     }
269 
270     /**
271      * Returns the named behavior object.
272      * The name 'asa' stands for 'as a'.
273      * @param string $behavior the behavior name
274      * @return IBehavior the behavior object, or null if the behavior does not exist
275      */
276     public function asa($behavior)
277     {
278         return isset($this->_m[$behavior]) ? $this->_m[$behavior] : null;

Stack Trace

#0
+
 /home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_develop/application/controllers/admin/tokens.php(702): CComponent->__call("handletokenform", array(214776, "addnew"))
697 
698             $aData['sidemenu']['state'] = false;
699 
700             $this->_renderWrappedTemplate('token', array('addtokenpost'), $aData);
701         } else {
702             $this->handletokenform($iSurveyId, "addnew");
703         }
704     }
705 
706     /**
707      * Edit Tokens
#1
+
 /home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_develop/application/controllers/admin/tokens.php(702): tokens->handletokenform(214776, "addnew")
697 
698             $aData['sidemenu']['state'] = false;
699 
700             $this->_renderWrappedTemplate('token', array('addtokenpost'), $aData);
701         } else {
702             $this->handletokenform($iSurveyId, "addnew");
703         }
704     }
705 
706     /**
707      * Edit Tokens
#4
+
 /home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_develop/application/core/Survey_Common_Action.php(83): CAction->runWithParamsInternal(tokens, ReflectionMethod, array("surveyid" => "214776", "sa" => "addnew", "iSurveyId" => "214776", "iSurveyID" => "214776", ...))
78             $oMethod = new ReflectionMethod($this, $sDefault);
79         }
80 
81         // We're all good to go, let's execute it
82         // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params
83         return parent::runWithParamsInternal($this, $oMethod, $params);
84     }
85 
86     /**
87      * Some functions have different parameters, which are just an alias of the
88      * usual parameters we're getting in the url. This function just populates
2017-12-20 17:58:21 Apache/2.2.22 (Debian) Yii Framework/1.1.18