PHP error

mktime(): You should be using the time() function instead

/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/helpers/expressions/em_core_helper.php(2030)

2018                                 $result = call_user_func_array('sprintf',$params);
2019                                 break;
2020                             default:
2021                                 $result = $funcName($params);
2022                                 break;
2023                         }
2024                     }
2025                 // Call  function with the params passed
2026                 } elseif (in_array($argsPassed, $numArgsAllowed)) {
2027                     switch ($argsPassed) {
2028                     case 0:
2029                         if (!$this->RDP_onlyparse) {
2030                             $result = $funcName();
2031                         }
2032                         break;
2033                     case 1:
2034                         if (!$this->RDP_onlyparse) {
2035                             switch($funcName) {
2036                                 case 'acos':
2037                                 case 'asin':
2038                                 case 'atan':
2039                                 case 'cos':
2040                                 case 'exp':
2041                                 case 'is_nan':
2042                                 case 'sin':

Stack Trace

#0
+
 /home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/helpers/expressions/em_core_helper.php(2030): mktime()
2025                 // Call  function with the params passed
2026                 } elseif (in_array($argsPassed, $numArgsAllowed)) {
2027                     switch ($argsPassed) {
2028                     case 0:
2029                         if (!$this->RDP_onlyparse) {
2030                             $result = $funcName();
2031                         }
2032                         break;
2033                     case 1:
2034                         if (!$this->RDP_onlyparse) {
2035                             switch($funcName) {
#1
+
 /home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/helpers/expressions/em_core_helper.php(814): ExpressionManager->RDP_RunFunction(array("mktime", 0, "WORD"), array())
809                 }
810             }
811             if ($token3[2] == 'RP')
812             {
813                 ++$this->RDP_pos;   // consume the token so can process next clause
814                 return $this->RDP_RunFunction($funcNameToken,$params);
815             }
816             else
817             {
818                 if ($this->RDP_EvaluateExpression())
819                 {
#2
+
 /home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/helpers/expressions/em_core_helper.php(568): ExpressionManager->RDP_EvaluateFunction()
563                 break;
564             case 'WORD':
565             case 'SGQA':
566                 if (($this->RDP_pos + 1) < $this->RDP_count and $this->RDP_tokens[($this->RDP_pos + 1)][2] == 'LP')
567                 {
568                     return $this->RDP_EvaluateFunction();
569                 }
570                 else
571                 {
572                     if ($this->RDP_isValidVariable($token[0]))
573                     {
2016-04-14 18:05:57 Apache/2.2.22 (Debian) Yii Framework/1.1.17