PHP notice

Trying to get property of non-object

\limesurvey\application\views\admin\quotas\viewquotas_quota_members.php(24)

12     $icon = 'fa-exclamation-circle';
13 } elseif ($oQuota->action == Quota::ACTION_CONFIRM_TERMINATE){
14     $tooltip = gT("Allow user to modify his last answers before terminate survey.");
15     $icon = 'fa-exclamation-triangle';
16 }
17 ?>
18 
19 <div class="panel panel-<?php echo ($oQuota->active==1 ? 'primary' : 'default') ?>">
20     <div class="panel-heading">
21         <div class="pull-right small">
22             <span><span class="fa <?php echo $icon?>"></span> <?php echo $tooltip;?></span>
23             <?php if($oQuota->autoload_url == 1):?>
24                 <span><span class="fa fa-external-link"></span> <?php echo gT('Autoload URL:').' '.htmlentities($oQuota->mainLanguagesetting->quotals_url);?>"</span>
25             <?php endif;?>
26         </div>
27         <?php echo viewHelper::flatEllipsizeText($oQuota->name) ;?>
28     </div>
29     <table class="table table-quota-items table-striped table-condensed" >
30         <thead>
31             <tr>
32                 <th><?php eT('Question');?></th>
33                 <th><?php eT('Answer');?></th>
34                 <th class="text-right">
35                     <?php echo CHtml::beginForm(array("admin/quotas/sa/new_answer/surveyid/{$oSurvey->getPrimaryKey()}"), 'post');?>
36                     <?php echo CHtml::hiddenField('sid',$oSurvey->getPrimaryKey());?>

Stack Trace

#3
+
 \limesurvey\application\views\admin\quotas\viewquotas_view.php(78): CController->renderPartial("/admin/quotas/viewquotas_quota_members", array("oSurvey" => Survey, "oQuota" => Quota, "aQuotaItems" => array(1330 => array(array("oQuestion" => Question, "answer_title" => "Some question text", "oQuotaMember" => QuotaMember)), 1331 => array(array("oQuestion" => Question, "answer_title" => "Some question text", "oQuotaMember" => QuotaMember)), 1332 => array(array("oQuestion" => Question, "answer_title" => "Some question text", "oQuotaMember" => QuotaMember)), 1333 => array(array("oQuestion" => Question, "answer_title" => "Some question text", "oQuotaMember" => QuotaMember)), ...)))
73                                     $out = '<p>'.$this->renderPartial('/admin/quotas/viewquotas_quota_members',
74                                         array(
75                                             'oSurvey'=>$oSurvey,
76                                             'oQuota'=>$oQuota,
77                                             'aQuotaItems'=>$aQuotaItems,
78                                     )).'<p>';
79                                     return $out;
80                                 },
81                             ),
82                             array(
83                                 'name'=>'completed',
#18
+
 \limesurvey\application\views\admin\quotas\viewquotas_view.php(124): CBaseController->widget("bootstrap.widgets.TbGridView", array("dataProvider" => CArrayDataProvider, "id" => "quota-grid", "emptyText" => "No quotas", "summaryText" => "Displaying {start}-{end} of {count} result(s). <select class="ch...", ...))
119                             ),
120 
121                         ),
122                         'itemsCssClass' =>'table-quotas table-striped table-condensed',
123                         'ajaxUpdate' => true,
124                     ));
125                     ?>
126                 </div>
127                 <?php endif; ?>
128 
129                 <?php if (Permission::model()->hasSurveyPermission($oSurvey->getPrimaryKey(), 'quotas','create')):?>
#22
+
 \limesurvey\application\core\Survey_Common_Action.php(303): CController->renderPartial("/admin/quotas/viewquotas_view", array("surveyid" => "851717", "iSurveyId" => "851717", "sBaseLang" => "ru", "aLangs" => array("ru"), ...))
298         {
299             if (empty($sViewKey) || !in_array($sViewKey, array('message', 'output')))
300             {
301                 if (is_numeric($sViewKey))
302                 {
303                     Yii::app()->getController()->renderPartial($sViewPath . $viewUrl, $aData);
304                 }
305                 elseif (is_array($viewUrl))
306                 {
307                     foreach ($viewUrl as $aSubData)
308                     {
2017-03-24 15:35:33 Apache/2.4.23 (Win32) PHP/5.6.24 Yii Framework/1.1.17