PHP notice

Undefined offset: 1

/home/sondages.pro/htdocs/clients/complets/draafbfc/LimeSurvey/application/helpers/expressions/em_core_helper.php(1299)

1287         $errs = $this->RDP_errs;
1288         $tokens = $this->RDP_tokens;
1289         $errCount = count($errs);
1290         $errIndex = 0;
1291         if ($errCount > 0) {
1292             usort($errs, "cmpErrorTokens");
1293         }
1294         $stringParts = array();
1295         $numTokens = count($tokens);
1296         $globalErrs = array();
1297         $bHaveError = false;
1298         while ($errIndex < $errCount) {
1299             if ($errs[$errIndex++][1][1] == 0) {
1300                 // General message, associated with position 0
1301                 $globalErrs[] = $errs[$errIndex - 1][0];
1302                 $bHaveError = true;
1303             } else {
1304                 --$errIndex;
1305                 break;
1306             }
1307         }
1308         for ($i = 0; $i < $numTokens; ++$i) {
1309             $token = $tokens[$i];
1310             $messages = array();
1311             $thisTokenHasError = false;

Stack Trace

#0
+
 /home/sondages.pro/htdocs/clients/complets/draafbfc/LimeSurvey/application/helpers/expressions/em_manager_helper.php(6918): ExpressionManager->GetPrettyPrintString()
6913                     $updatedValues[$sgqa] = $_update;
6914                     $LEM->updatedValues[$sgqa] = $_update;
6915 
6916                 if (($LEM->debugLevel & LEM_DEBUG_VALIDATION_DETAIL) == LEM_DEBUG_VALIDATION_DETAIL)
6917                 {
6918                     $prettyPrintEqn = $LEM->em->GetPrettyPrintString();
6919                     $debug_qmessage .= '** Process Hidden but Relevant Equation [' . $sgqa . '](' . $prettyPrintEqn . ') => ' . $result . "<br />\n";
6920                 }
6921             }
6922 
6923             // Process Default : 1st part : update in DB if actually relevant and not already set
#1
+
 /home/sondages.pro/htdocs/clients/complets/draafbfc/LimeSurvey/application/helpers/expressions/em_manager_helper.php(6050): LimeExpressionManager->_ValidateQuestion(3, false)
6045             /////////////////////////////////////////////////////////
6046             // CHECK EACH QUESTION, AND SET GROUP-LEVEL PROPERTIES //
6047             /////////////////////////////////////////////////////////
6048             for ($i=$groupSeqInfo['qstart'];$i<=$groupSeqInfo['qend']; ++$i)
6049             {
6050                 $qStatus = $LEM->_ValidateQuestion($i,$force);
6051 
6052                 $updatedValues = array_merge($updatedValues,$qStatus['updatedValues']);
6053 
6054                 if ($gRelInfo['result']==true && $qStatus['relevant']==true) {
6055                     $grel = $gRelInfo['result'];    // true;   // at least one question relevant
#2
+
 /home/sondages.pro/htdocs/clients/complets/draafbfc/LimeSurvey/application/helpers/expressions/em_manager_helper.php(5958): LimeExpressionManager->_ValidateGroup(0, false)
5953             ///////////////////////////////////////////////////////
5954             // CHECK EACH GROUP, AND SET SURVEY-LEVEL PROPERTIES //
5955             ///////////////////////////////////////////////////////
5956             for ($i=0;$i<$LEM->numGroups;++$i) {
5957                 $LEM->currentGroupSeq=$i;
5958                 $gStatus = $LEM->_ValidateGroup($i,$force);
5959                 if (is_null($gStatus)) {
5960                     continue;   // invalid group, so skip it
5961                 }
5962                 $message .= $gStatus['message'];
5963 
2018-04-24 11:50:42 Apache/2.2.22 (Debian) Yii Framework/1.1.18