PHP notice

Trying to get property of non-object

/home/rcherz/web/protected/widgets/statusFeed/views/headerTabs/statsTab.php(14)

02 /**
03  * User: V. Jurenka
04  * Date: 27.10.2013
05  * Time: 18:13
06  */
07 
08 $countryOrg = $owner;
09 ?>
10 <div id="statsTabInput" class="feedInputTabText">
11     <div class="statistics_select">
12         <?php
13         echo CHtml::dropDownList('statistics_bow_type', '',
14             CHtml::listData($countryOrg->organisation->bow_types, 'id', 'name'), array('prompt' => Yii::t('site', 'Any bow type'), 'onchange' => 'resetStatistics()'));
15         ?>
16     </div>
17     <div class="statistics_select">
18         <?php
19         echo CHtml::dropDownList('statistics_gender', DivisionGenders::UNIVERSAL,
20             DivisionGenders::getList(false), array('onchange' => 'resetStatistics()'));
21         ?>
22     </div>
23     <div class="statistics_select">
24         <?php
25         echo CHtml::dropDownList('statistics_age_category', '',
26             CHtml::listData($countryOrg->organisation->age_categories, 'id', 'name'), array('prompt' => Yii::t('site', 'Any age category'), 'onchange' => 'resetStatistics()'));

Stack Trace

#0
+
 /home/rcherz/web/protected/widgets/statusFeed/views/feedInput.php(299): require_once("/home/rcherz/web/protected/widgets/statusFeed/views/headerTabs/s...")
294         if(isset($tabs['competitionsPastTab']) && $tabs['competitionsPastTab']){
295             require_once 'headerTabs/competitionsPastTab.php';
296         }
297 
298         if(isset($tabs['statsTab']) && $tabs['statsTab']){
299             require_once 'headerTabs/statsTab.php';
300         }
301 
302         if(isset($tabs['clubStatsTab']) && $tabs['clubStatsTab']){
303             require_once 'headerTabs/clubStatsTab.php';
304         }
#4
+
 /home/rcherz/web/protected/widgets/statusFeed/StatusFeedInputWidget.php(110): CWidget->render("feedInput", array("userInfo" => null, "tabs" => array("addStatus" => true, "galleryTab" => true, "membersTab" => true, "competitionsFutureTab" => true, ...), "sendStatusForm" => SendStatusForm, "processingAction" => "/ajax/statusFeed.sendCountryOrganisationStatus", ...))
105             'photoProcessingAction'    => $photoProcessingAction,
106             'type'                    => $this->type,
107             'recipientInfo'            => $recipientInfo,
108             'model'                    => $model,
109             'owner'                 => $this->owner,
110             'isOwner'               => $this->isOwner,
111            ));
112     }
113 
114 }
115 ?>
#6
+
 /home/rcherz/web/themes/classic/views/organisations/countryDetail.php(243): CBaseController->widget("application.widgets.statusFeed.StatusFeedInputWidget", array("type" => "countryOrganisationFeed", "tabs" => array("addStatus" => true, "galleryTab" => true, "membersTab" => true, "competitionsFutureTab" => true, ...), "statusFeedUUID" => "2cffb710-44a2-11e3-9bbe-53a5a07e0c67", "ownerId" => "2", ...))
238         'statusFeedUUID' => $model->status_feed_id,
239         'ownerId' => $model->id,
240         'skin' => 'fullSize',
241         'owner' => $model,
242         'isOwner' => $model->hasAdminRights(),
243         'enableFbShare' => $model->enable_fb_status_sharing,
244     ));
245 
246     $this->widget('application.widgets.statusFeed.TabularStatusFeedDisplayWidget', array(
247         'type' => 'countryOrganisationFeed',
248         'statusFeedUUID' => $model->status_feed_id,
2024-03-29 09:01:21 nginx/1.18.0 Yii Framework/1.1.15