PHP notice

Undefined variable: aFieldArray

/mnt/data/shnoulle/nginx/www/develop/application/models/Question.php(1051)

1039             case Question::QT_D_DATE:                           return new DataSetDate($this->qid);
1040             case Question::QT_1_ARRAY_MULTISCALE:               return new DataSetArrayMultiscale($this->qid);
1041             case Question::QT_L_LIST_DROPDOWN:                  return new DataSetListRadio($this->qid);
1042             case Question::QT_EXCLAMATION_LIST_DROPDOWN:        return new DataSetListDropdown($this->qid);
1043             case Question::QT_O_LIST_WITH_COMMENT:              return new DataSetListWithComment($this->qid);
1044             case Question::QT_R_RANKING_STYLE:                  return new RenderRanking($aFieldArray);
1045             case Question::QT_M_MULTIPLE_CHOICE:                return new DataSetMultipleChoice($this->qid);
1046             case Question::QT_P_MULTIPLE_CHOICE_WITH_COMMENTS:  return new DataSetMultipleChoiceWithComments($this->qid);
1047             case Question::QT_I_LANGUAGE:                       return new DataSetLanguage($this->qid);
1048             case Question::QT_Q_MULTIPLE_SHORT_TEXT:            return new DataSetMultipleShortText($this->qid);
1049             case Question::QT_T_LONG_FREE_TEXT:                 return new DataSetLongFreeText($this->qid);
1050             case Question::QT_U_HUGE_FREE_TEXT:                 return new DataSetHugeFreeText($this->qid);
1051             case Question::QT_K_MULTIPLE_NUMERICAL_QUESTION:    return new RenderMultipleNumerical($aFieldArray);
1052             case Question::QT_A_ARRAY_5_CHOICE_QUESTIONS:       return new DataSetArray5ChoiceQuestion($this->qid);
1053             case Question::QT_B_ARRAY_10_CHOICE_QUESTIONS:      return new DataSetArray10ChoiceQuestion($this->qid);
1054             case Question::QT_C_ARRAY_YES_UNCERTAIN_NO:         return new DataSetArrayYesUncertainNo($this->qid);
1055             case Question::QT_E_ARRAY_OF_INC_SAME_DEC_QUESTIONS:return new DataSetArrayOfIncSameDecQuestions($this->qid);
1056             case Question::QT_F_ARRAY_FLEXIBLE_ROW:             return new DataSetArrayFlexibleRow($this->qid);
1057             case Question::QT_G_GENDER_DROPDOWN:                return new DataSetGenderDropdown($this->qid);
1058             case Question::QT_H_ARRAY_FLEXIBLE_COLUMN:          return new DataSetArrayFlexibleColumn($this->qid);
1059             case Question::QT_N_NUMERICAL:                      return new DataSetNumerical($this->qid);
1060             case Question::QT_S_SHORT_FREE_TEXT:                return new DataSetShortFreeText($this->qid);
1061             case Question::QT_Y_YES_NO_RADIO:                   return new DataSetYesNoRadio($this->qid);
1062             case Question::QT_Z_LIST_RADIO_FLEXIBLE:            return new DataSetListRadioFlexible($this->qid);
1063             case Question::QT_COLON_ARRAY_MULTI_FLEX_NUMBERS:   return new DataSetArrayMultiFlexNumbers($this->qid);

Stack Trace

#0
+
 /mnt/data/shnoulle/nginx/www/develop/application/controllers/admin/questionedit.php(286): Question->getDataSetObject()
281     }
282     
283     public function getGeneralOptions($iQuestionId, $sQuestionType=null, $returnArray = false)
284     {
285         $oQuestion = $this->_getQuestionObject($iQuestionId, $sQuestionType);
286         $aGeneralOptionsArray = $oQuestion->getDataSetObject()->getGeneralSettingsArray($oQuestion->qid, $sQuestionType);
287 
288         if ($returnArray === true) {
289             return $aGeneralOptionsArray;
290         }
291 
#3
+
 /mnt/data/shnoulle/nginx/www/develop/application/core/Survey_Common_Action.php(83): CAction->runWithParamsInternal(questionedit, ReflectionMethod, array("r" => "admin/questioneditor", "sid" => "594577", "gid" => "588", "sa" => "getGeneralOptions", ...))
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
#7
+
 /mnt/data/shnoulle/nginx/www/develop/application/controllers/AdminController.php(158): CController->run("questioneditor")
153                     $this->redirect(array('/admin/authentication/sa/login'));
154                 }
155             }
156         }
157 
158         return parent::run($action);
159     }
160 
161     /**
162      * Routes all the actions to their respective places
163      *
2019-05-11 15:02:17 nginx/1.14.2 Yii Framework/1.1.21