After update to 4.4.4 and DB upgrade, the question cannot be saved with below error.
The survey creation, and group creation works find, but whenever add or modify the question, below error shows up.
Possibly related to
forums.limesurvey.org/forum/design-issue...ubquestions?start=15
but, still cannot figure out "WHY"....
/Sites/somesite/limesurvey/application/controllers/QuestionAdministrationController.php(2528)
2516 */
2517 private function applyL10n($oQuestion, $dataSet)
2518 {
2519 foreach ($dataSet as $sLanguage => $aI10NBlock) {
2520 $i10N = QuestionL10n::model()->findByAttributes();
2521 if (empty($i10N)) {
2522 throw new Exception('Found no L10n object');
2523 }
2524 $i10N->setAttributes(
2525 [
2526 'question' => $aI10NBlock,
2527 'help' => $aI10NBlock,
2528 'script' => $aI10NBlock,
2529 ],
2530 false
2531 );
2532 if (!$i10N->save()) {
2533 throw new CHttpException(500, gT("Could not store translation"));
2534 }
2535 }
2536
2537 return true;
2538 }
2539
2540 /**
Stack Trace
#0
– /Sites/somesite/limesurvey/application/controllers/QuestionAdministrationController.php(437): QuestionAdministrationController->applyL10n(Question, array("en" => array("question" => "test", "help" => "")))
432 }
433
434 // Apply the changes to general settings, advanced settings and translations
435 $setApplied = [];
436
437 $setApplied = $this->applyL10n($question, $questionData);
438
439 $setApplied = $this->unparseAndSetAdvancedOptions(
440 $question,
441 $questionData
442 );
#1
+ /Sites/somesite/limesurvey/framework/web/actions/CInlineAction.php(49): QuestionAdministrationController->actionSaveQuestionData()
#2
+ /Sites/somesite/limesurvey/framework/web/CController.php(308): CInlineAction->runWithParams(array())
#3
+ /Sites/somesite/limesurvey/framework/web/CController.php(286): CController->runAction(CInlineAction)
#4
+ /Sites/somesite/limesurvey/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, array())
#5
– /Sites/somesite/limesurvey/application/controllers/LSBaseController.php(160): CController->run("saveQuestionData")
155 $this->redirect(array('/admin/authentication/sa/login'));
156 }
157 }
158 }
159
160 parent::run($action);
161 }
162
163 /**
164 * Load and set session vars
165 *
#6
+ /Sites/somesite/limesurvey/framework/web/CWebApplication.php(282): LSBaseController->run("saveQuestionData")
#7
+ /Sites/somesite/limesurvey/framework/web/CWebApplication.php(141): CWebApplication->runController("questionAdministration/saveQuestionData")
#8
+ /Sites/somesite/limesurvey/framework/base/CApplication.php(185): CWebApplication->processRequest()
#9
– /Sites/somesite/limesurvey/index.php(182): CApplication->run()
177 require_once APPPATH . 'core/LSYii_Application' . EXT;
178
179 $config = require_once(APPPATH . 'config/internal' . EXT);
180
181 Yii::$enableIncludePath = false;
182 Yii::createApplication('LSYii_Application', $config)->run();
183
184 /* End of file index.php */
185 /* Location: ./index.php */