PHP notice

Undefined property: stdClass::$validuntil

/usr/local/www/apache24/data/limesurvey/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                                  <em>XXXXXXXXXXX</em>
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	
–  /usr/local/www/apache24/data/limesurvey/framework/web/CBaseController.php(126): require("/usr/local/www/apache24/data/limesurvey/application/views/admin/...")
121             $data=$_data_;
122         if($_return_)
123         {
124             ob_start();
125             ob_implicit_flush(false);
126             require($_viewFile_);
127             return ob_get_clean();
128         }
129         else
130             require($_viewFile_);
131     }
#1	
–  /usr/local/www/apache24/data/limesurvey/framework/web/CBaseController.php(95): CBaseController->renderInternal("/usr/local/www/apache24/data/limesurvey/application/views/admin/...", array("serverAnswer" => stdClass, "fullpagebar" => array("closebutton" => array("url" => "admin/update")), "updateKey" => "M7436F353C4", "updateKeyInfos" => stdClass), true)
090     {
091         $widgetCount=count($this->_widgetStack);
092         if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile))
093             $content=$renderer->renderFile($this,$viewFile,$data,$return);
094         else
095             $content=$this->renderInternal($viewFile,$data,$return);
096         if(count($this->_widgetStack)===$widgetCount)
097             return $content;
098         else
099         {
100             $widget=end($this->_widgetStack);
#2	
–  /usr/local/www/apache24/data/limesurvey/framework/web/CController.php(872): CBaseController->renderFile("/usr/local/www/apache24/data/limesurvey/application/views/admin/...", array("serverAnswer" => stdClass, "fullpagebar" => array("closebutton" => array("url" => "admin/update")), "updateKey" => "M7436F353C4", "updateKeyInfos" => stdClass), true)
867      */
868     public function renderPartial($view,$data=null,$return=false,$processOutput=false)
869     {
870         if(($viewFile=$this->getViewFile($view))!==false)
871         {
872             $output=$this->renderFile($viewFile,$data,true);
873             if($processOutput)
874                 $output=$this->processOutput($output);
875             if($return)
876                 return $output;
877             else
#3	
–  /usr/local/www/apache24/data/limesurvey/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" => "M7436F353C4", "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	
–  /usr/local/www/apache24/data/limesurvey/application/core/Survey_Common_Action.php(338): Survey_Common_Action->renderCentralContents("update/manage/", array("manage_key"), array("serverAnswer" => stdClass, "fullpagebar" => array("closebutton" => array("url" => "admin/update")), "updateKey" => "M7436F353C4", "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	
–  /usr/local/www/apache24/data/limesurvey/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" => "M7436F353C4", "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	
–  /usr/local/www/apache24/data/limesurvey/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(update, array())
104             elseif($param->isDefaultValueAvailable())
105                 $ps[]=$param->getDefaultValue();
106             else
107                 return false;
108         }
109         $method->invokeArgs($object,$ps);
110         return true;
111     }
112 }
#8	
–  /usr/local/www/apache24/data/limesurvey/application/core/Survey_Common_Action.php(83): CAction->runWithParamsInternal(update, ReflectionMethod, array("sa" => "managekey"))
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
#9	
–  /usr/local/www/apache24/data/limesurvey/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("sa" => "managekey"))
303     {
304         $priorAction=$this->_action;
305         $this->_action=$action;
306         if($this->beforeAction($action))
307         {
308             if($action->runWithParams($this->getActionParams())===false)
309                 $this->invalidActionParams($action);
310             else
311                 $this->afterAction($action);
312         }
313         $this->_action=$priorAction;
#10	
–  /usr/local/www/apache24/data/limesurvey/framework/web/CController.php(286): CController->runAction(update)
281      * @see runAction
282      */
283     public function runActionWithFilters($action,$filters)
284     {
285         if(empty($filters))
286             $this->runAction($action);
287         else
288         {
289             $priorAction=$this->_action;
290             $this->_action=$action;
291             CFilterChain::create($this,$action,$filters)->run();
#11	
–  /usr/local/www/apache24/data/limesurvey/framework/web/CController.php(265): CController->runActionWithFilters(update, array())
260         {
261             if(($parent=$this->getModule())===null)
262                 $parent=Yii::app();
263             if($parent->beforeControllerAction($this,$action))
264             {
265                 $this->runActionWithFilters($action,$this->filters());
266                 $parent->afterControllerAction($this,$action);
267             }
268         }
269         else
270             $this->missingAction($actionID);
#12	
–  /usr/local/www/apache24/data/limesurvey/application/controllers/AdminController.php(158): CController->run("update")
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      *
#13	
–  /usr/local/www/apache24/data/limesurvey/framework/web/CWebApplication.php(282): AdminController->run("update")
277         {
278             list($controller,$actionID)=$ca;
279             $oldController=$this->_controller;
280             $this->_controller=$controller;
281             $controller->init();
282             $controller->run($actionID);
283             $this->_controller=$oldController;
284         }
285         else
286             throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".',
287                 array('{route}'=>$route===''?$this->defaultController:$route)));
#14	
–  /usr/local/www/apache24/data/limesurvey/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/update/sa/managekey")
136             foreach(array_splice($this->catchAllRequest,1) as $name=>$value)
137                 $_GET[$name]=$value;
138         }
139         else
140             $route=$this->getUrlManager()->parseUrl($this->getRequest());
141         $this->runController($route);
142     }
143 
144     /**
145      * Registers the core application components.
146      * This method overrides the parent implementation by registering additional core components.
#15	
–  /usr/local/www/apache24/data/limesurvey/framework/base/CApplication.php(185): CWebApplication->processRequest()
180     public function run()
181     {
182         if($this->hasEventHandler('onBeginRequest'))
183             $this->onBeginRequest(new CEvent($this));
184         register_shutdown_function(array($this,'end'),0,false);
185         $this->processRequest();
186         if($this->hasEventHandler('onEndRequest'))
187             $this->onEndRequest(new CEvent($this));
188     }
189 
190     /**
#16	
–  /usr/local/www/apache24/data/limesurvey/index.php(194): CApplication->run()
189 require_once APPPATH . 'core/LSYii_Application' . EXT;
190 
191 $config = require_once(APPPATH . 'config/internal' . EXT);
192 
193 Yii::$enableIncludePath = false;
194 Yii::createApplication('LSYii_Application', $config)->run();
195 
196 /* End of file index.php */
197 /* Location: ./index.php */


2018-06-22 16:50:05 Apache/2.4.33 (FreeBSD) PHP/7.0.30 Yii Framework/1.1.19