Description | I am currently running Version 3.14.11+180926, and just purchased a new ComfortUpdate key.
When I went into my Limesurvey admin, I selected Configuration from the top nav menu, then ComfortUpdate, then Manage Your Key.
This is the error I received:
PHP notice
Undefined property: stdClass::$validuntil
/home/lunafr2/public_html/survey/application/views/admin/update/manage/manage_key.php(41)
29 </thead>
30
31 <tbody>
32 <tr>
33 <td>
34 <?php if(!App()->getConfig('hide_update_key')):?>
35 <?php echo $updateKey; ?>
36 <?php else:?>
37 XXXXXXXXXXX
38 <?php endif;?>
39 </td>
40 <td>
41 <?php echo convertToGlobalSettingFormat($updateKeyInfos->validuntil); ?>
42 </td>
43 <td>
44 <?php echo $updateKeyInfos->remaining_updates; ?>
45 </td>
46 <td>
47 <a data-href="<?php echo App()->createUrl('/admin/update/sa/delete_key');?>" class="btn btn-default" data-toggle="modal" data-target="#confirmation-modal" data-tooltip="true" title="<?php eT("Delete");?>" >
48 <span class="text-danger fa fa-trash"></span>
49 </a>
50 </td>
51 </tr>
52 </tbody>
53 </table>
Stack Trace
#0
- /home/lunafr2/public_html/survey/framework/web/CBaseController.php(126): require("/home/lunafr2/public_html/survey/application/views/admin/update/...")
#1
- /home/lunafr2/public_html/survey/framework/web/CBaseController.php(95): CBaseController->renderInternal("/home/lunafr2/public_html/survey/application/views/admin/update/...", array("serverAnswer" => stdClass, "fullpagebar" => array("closebutton" => array("url" => "admin/update")), "updateKey" => "V5143M0J302", "updateKeyInfos" => stdClass), true)
#2
- /home/lunafr2/public_html/survey/framework/web/CController.php(872): CBaseController->renderFile("/home/lunafr2/public_html/survey/application/views/admin/update/...", array("serverAnswer" => stdClass, "fullpagebar" => array("closebutton" => array("url" => "admin/update")), "updateKey" => "V5143M0J302", "updateKeyInfos" => stdClass), true)
#3
– /home/lunafr2/public_html/survey/application/core/Survey_Common_Action.php(267): CController->renderPartial("/admin/update/manage//manage_key", array("serverAnswer" => stdClass, "fullpagebar" => array("closebutton" => array("url" => "admin/update")), "updateKey" => "V5143M0J302", "updateKeyInfos" => stdClass), true)
262 // Load views
263 $content = "";
264 foreach ($aViewUrls as $sViewKey => $viewUrl) {
265 if (empty($sViewKey) || !in_array($sViewKey, array('message', 'output'))) {
266 if (is_numeric($sViewKey)) {
267 $content .= Yii::app()->getController()->renderPartial($sViewPath.$viewUrl, $aData, true);
268 } elseif (is_array($viewUrl)) {
269 foreach ($viewUrl as $aSubData) {
270 $aSubData = array_merge($aData, $aSubData);
271 $content .= Yii::app()->getController()->renderPartial($sViewPath.$sViewKey, $aSubData, true);
272 }
#4
– /home/lunafr2/public_html/survey/application/core/Survey_Common_Action.php(338): Survey_Common_Action->renderCentralContents("update/manage/", "manage_key", array("serverAnswer" => stdClass, "fullpagebar" => array("closebutton" => array("url" => "admin/update")), "updateKey" => "V5143M0J302", "updateKeyInfos" => stdClass))
333 }
334 } else {
335 $renderFile = $basePath.'/'.$sRenderFile;
336 }
337
338 $content = $this->renderCentralContents($sAction, $aViewUrls, $aData);
339 $out = $this->renderInternal($renderFile, ['content' => $content, 'aData' => $aData], true);
340
341 App()->getClientScript()->render($out);
342 echo $out;
343 }
#5
– /home/lunafr2/public_html/survey/application/controllers/admin/update.php(107): Survey_Common_Action->_renderWrappedTemplate("update/manage/", "manage_key", array("serverAnswer" => stdClass, "fullpagebar" => array("closebutton" => array("url" => "admin/update")), "updateKey" => "V5143M0J302", "updateKeyInfos" => stdClass))
102 if (!$updateKey) {
103 $aData['fullpagebar']['saveandclosebutton']['form'] = true;
104 $this->_renderWrappedTemplate('update/manage/', 'subscribe', $aData);
105 } else {
106 $aData['updateKeyInfos'] = $updateModel->checkUpdateKeyonServer($updateKey);
107 $this->_renderWrappedTemplate('update/manage/', 'manage_key', $aData);
108 }
109 }
110 }
111
112 public function manage_submitkey()
#6
unknown(0): update->managekey()
#7
- /home/lunafr2/public_html/survey/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(update, array())
#8
- /home/lunafr2/public_html/survey/application/core/Survey_Common_Action.php(83): CAction->runWithParamsInternal(update, ReflectionMethod, array("sa" => "managekey"))
#9
- /home/lunafr2/public_html/survey/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("sa" => "managekey"))
#10
- /home/lunafr2/public_html/survey/framework/web/CController.php(286): CController->runAction(update)
#11
- /home/lunafr2/public_html/survey/framework/web/CController.php(265): CController->runActionWithFilters(update, array())
#12
- /home/lunafr2/public_html/survey/application/controllers/AdminController.php(158): CController->run("update")
#13
- /home/lunafr2/public_html/survey/framework/web/CWebApplication.php(282): AdminController->run("update")
#14
- /home/lunafr2/public_html/survey/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/update/sa/managekey")
#15
- /home/lunafr2/public_html/survey/framework/base/CApplication.php(185): CWebApplication->processRequest()
#16
- /home/lunafr2/public_html/survey/index.php(194): CApplication->run()
2018-11-05 15:05:04 Apache Yii Framework/1.1.19
|
---|
Additional Information | I also tried to click on "Use ComfortUpdate" and then "Enter a New Key" and got the following message:
you have an error, or a notice, inside your local installation of limesurvey. See :
PHP Error [400]
The CSRF token could not be verified. (/home/lunafr2/public_html/survey/framework/web/CHttpRequest.php:1362)
#0 /home/lunafr2/public_html/survey/framework/base/CErrorHandler.php(131): CErrorHandler->handleException()
#1 /home/lunafr2/public_html/survey/framework/base/CApplication.php(750): CErrorHandler->handle()
#2 unknown(0): LSYii_Application->handleException() |
---|