PHP notice

Undefined index: fr

/mnt/data/shnoulle/nginx/www/master/application/views/admin/dataentry/content_view.php(37)

25     </td>
26 
27 
28     <!-- question text -->
29     <td valign='top' align='right' width='30%'>
30         <!-- mandatory -->
31         <?php if ($deqrow['mandatory']=="Y"):?>
32             <span class="text-warning">*</span>
33         <?php endif; ?>
34 
35         <!-- question text -->
36         <strong>
37             <?php echo $deqrow->questionL10ns[$sDataEntryLanguage]->question;   // don't flatten if want to use EM.  However, may not be worth it as want dynamic relevance and question changes?>
38         </strong>
39     </td>
40 
41     <!-- Answers -->
42     <td valign='top'  align='left' style='padding-left: 20px'>
43         <?php switch($deqrow['type'])
44         {
45 
46 
47             //5 POINT CHOICE radio-buttons
48             case Question::QT_5_POINT_CHOICE: ?>
49             <div class="col-sm-10">

Stack Trace

#3
+
 /mnt/data/shnoulle/nginx/www/master/application/controllers/AdminController.php(222): CController->renderPartial("/admin/dataentry/content_view", array("qidattributes" => array("question_template" => "", "gid" => "", "other" => "", "mandatory" => "", ...), "bgc" => "even", "fieldname" => "775775X156X2874", "deqrow" => Question, ...), true, false)
217             }
218 
219           }
220         }
221 
222         return parent::renderPartial($view,$data,$return,$processOutput);
223      }
224 
225     /**
226      * Routes all the actions to their respective places
227      *
#4
+
 /mnt/data/shnoulle/nginx/www/master/application/controllers/admin/dataentry.php(2030): AdminController->renderPartial("/admin/dataentry/content_view", array("qidattributes" => array("question_template" => "", "gid" => "", "other" => "", "mandatory" => "", ...), "bgc" => "even", "fieldname" => "775775X156X2874", "deqrow" => Question, ...), true)
2025                             $cdata['fresult'] = Answer::model()->findAllByAttributes(['qid'=>$arQuestion['qid']]);
2026                             break;
2027                     }
2028 
2029                     $cdata['sDataEntryLanguage'] = $sDataEntryLanguage;
2030                     $viewdata = $this->getController()->renderPartial("/admin/dataentry/content_view", $cdata, true);
2031                     $viewdata_em = LimeExpressionManager::ProcessString($viewdata, $arQuestion['qid'], null, 1, 1);
2032                     $aDataentryoutput .= $viewdata_em;
2033                 }
2034                 LimeExpressionManager::FinishProcessingGroup();
2035             }
#7
+
 /mnt/data/shnoulle/nginx/www/master/application/core/Survey_Common_Action.php(86): CAction->runWithParamsInternal(dataentry, ReflectionMethod, array("surveyid" => "775775", "lang" => "fr", "sa" => "view", "iSurveyId" => "775775", ...))
81             $oMethod = new ReflectionMethod($this, $sDefault);
82         }
83 
84         // We're all good to go, let's execute it
85         // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params
86         return parent::runWithParamsInternal($this, $oMethod, $params);
87     }
88 
89     /**
90      * Some functions have different parameters, which are just an alias of the
91      * usual parameters we're getting in the url. This function just populates
2020-03-02 15:26:02 nginx/1.16.1 Yii Framework/1.1.22-dev