PHP warning

count(): Parameter must be an array or an object that implements Countable

/home/fw4w1dqdl93n/public_html/alinguaquehabitamos/limesurvey/application/helpers/expressions/em_manager_helper.php(1087)

1075 
1076             // Associate these with $qid so that can be nested under appropriate question-level relevance
1077             foreach ($this->q2subqInfo as $qinfo)
1078             {
1079                 if (!is_null($onlyThisQseq) && $onlyThisQseq != $qinfo['qseq']) {
1080                     continue;
1081                 }
1082                 else if (!$this->allOnOnePage && $this->currentGroupSeq != $qinfo['gseq']) {
1083                     continue; // only need subq relevance for current page.
1084                 }
1085                 $questionNum = $qinfo['qid'];
1086                 $type = $qinfo['type'];
1087                 $hasSubqs = (isset($qinfo['subqs']) && count($qinfo['subqs'] > 0));
1088                 $qattr = isset($this->qattr[$questionNum]) ? $this->qattr[$questionNum] : array();
1089                 if (isset($qattr['input_boxes']) && $qattr['input_boxes'] == '1')
1090                 {
1091                     $input_boxes='1';
1092                 }
1093                 else
1094                 {
1095                     $input_boxes='';
1096                 }
1097 
1098                 if (isset($qattr['value_range_allows_missing']) && $qattr['value_range_allows_missing'] == '1')
1099                 {

Stack Trace

#0
+
 /home/fw4w1dqdl93n/public_html/alinguaquehabitamos/limesurvey/application/helpers/expressions/em_manager_helper.php(7036): LimeExpressionManager->_CreateSubQLevelRelevanceAndValidationEqns()
7031                         $LEM->maxGroupSeq = $gseq;
7032                     }
7033 
7034                     if (!$LEM->allOnOnePage || ($LEM->allOnOnePage && !$LEM->processedRelevance)) {
7035                         $LEM->ProcessAllNeededRelevance();  // TODO - what if this is called using Survey or Data Entry format?
7036                         $LEM->_CreateSubQLevelRelevanceAndValidationEqns();
7037                         $LEM->processedRelevance=true;
7038                     }
7039                 }
7040             }
7041         }
#1
+
 /home/fw4w1dqdl93n/public_html/alinguaquehabitamos/limesurvey/application/helpers/expressions/em_manager_helper.php(5939): LimeExpressionManager::StartProcessingGroup(0, false, "355932")
5934                 return NULL;
5935             }
5936             $qInfo = $LEM->questionSeq2relevance[$groupSeqInfo['qstart']];
5937             $gseq = $qInfo['gseq'];
5938             $gid = $qInfo['gid'];
5939             $LEM->StartProcessingGroup($gseq, $LEM->surveyOptions['anonymized'], $LEM->sid); // analyze the data we have about this group
5940 
5941             $grel=false;  // assume irrelevant until find a relevant question
5942             $ghidden=true;   // assume hidden until find a non-hidden question.  If there are no relevant questions on this page, $ghidden will stay true
5943             $gmandViolation=false;  // assume that the group contains no manditory questions that have not been fully answered
5944             $gvalid=true;   // assume valid until discover otherwise
#2
+
 /home/fw4w1dqdl93n/public_html/alinguaquehabitamos/limesurvey/application/helpers/expressions/em_manager_helper.php(5212): LimeExpressionManager->_ValidateGroup(0)
5207                                 'invalidSQs'=>(isset($result['invalidSQs']) ? $result['invalidSQs'] : ''),
5208                             );
5209                             return $LEM->lastMoveResult;
5210                         }
5211 
5212                         $result = $LEM->_ValidateGroup($LEM->currentGroupSeq);
5213                         if (is_null($result)) {
5214                             continue;   // this is an invalid group - skip it
5215                         }
5216                         $message .= $result['message'];
5217                         $updatedValues = array_merge($updatedValues,$result['updatedValues']);
2024-03-19 05:42:55 Apache Yii Framework/1.1.17