PHP notice

Trying to get property 'tenen' of non-object

/home/birdcom/domains/birdwatchingvietnam.net/public_html/protected/views/taxanomy/index.php(95)

083 <script type="text/javascript">
084     <?php if ($paramorderid != 0) {?>
085         $('#listoftaxanomy<?php echo $paramorderid?>').collapse("show");
086     <?php } ?>
087 
088     <?php if ($paramfamilyid != 0 ) {?>
089         var _result_one_family = '<div class="panel panel-success">'
090                         + '<div class="panel-heading">'
091                             + '<h3 class="panel-title">Browse Bird Profiles <code>(found <?php echo count($birdlist) ?> birds)</code></h3>'
092                         + '</div>'
093                         + '<div class="panel-body">'
094                             + '<div id="taxanomyinfo" style="margin-bottom:10px;">'
095                                 + '<h2><?php echo $objfamily->tenen ?> </h2>'
096                                 + '<code>(Order: <?php echo ucfirst($ordername) ?>, Family: <?php echo ucfirst($familyname) ?>)</code>'
097                             + '</div>'
098                             + '<div class="row">';
099                                 <?php foreach($birdlist as $item ) {?>
100                                 _result_one_family += '<div class="col-xs-5 col-sm-3 col-md-3">'
101                                     + '<a href="<?php echo $this->createAbsoluteUrl('birddetail/index', array('id' => $item->birdID, 'title' => Helper::slug($item->tenen), 'searchby' => 'taxonomy')) ?>" class="thumbnail">'
102                                         <?php if ($item->imagePC != " ") { ?>
103                                             + '<img src="<?php echo (strpos($item->imagePC, "'") > -1)? $this->app->request->getBaseUrl(true) . '/images/bird/' . $item->birdID . '/' . str_replace("'","&lsquo;",$item->imagePC) :  $this->app->request->getBaseUrl(true) . '/images/bird/' . $item->birdID . '/' . $item->imagePC ?>" class="img-responsive img-rounded" />'
104                                         <?php } else { ?>
105                                             + '<img src="<?php echo $this->app->request->getBaseUrl(true) . '/images/missing_s.png' ?>" class="img-responsive img-rounded" />'
106                                         <?php } ?>
107                                         + '<div class="caption">'

Stack Trace

#4
+
 /home/birdcom/domains/birdwatchingvietnam.net/public_html/protected/controllers/TaxanomyController.php(67): CController->render("index", array("familyname" => "platylophidae", "ordername" => "passeriformes", "objfamily" => null, "paramfamilyid" => "130", ...))
62         
63         // Load views
64         $this->pageTitle = 'Vietnam Bird Guide - The Birds of Vietnam and ASEAN';
65         $this->seo_keyword='asia birder, oriental birds, wildtour, birding 2 asia, birding vietnam, vietnam birding, birding tours, vietnam birdwatching, birding guide, wildlife, vietnam national parks, birding tour company, Cuc Phuong, Cat Tien, Tam dao, Lo Xo, Sai Gon, Bach Ma, Phong Nha, Ke Bang, birding maps,Xuan Thuy, Di Linh, Tan Phu, deo Nui san, Nguyen Hoai Bao, Bjoin anderson, Nick Dimond, Hugh Buck, Da Lat city, langbiang, Tan Phu park, Thac Mai, Nha Trang, Phan Thiet, Ninh Chu, Vinh Hy, Buon Don, Con Dao Island, Phu Quoc Island Du lịch sinh thái, dã ngoại, xem chim, asia birder, oriental birds, wildtour, birding 2 asia, birding vietnam, vietnam birding, birding tours, vietnam birdwatching, birding guide, wildlife, vietnam national parks, birding tour company, Cuc Phuong, Cat Tien, Tam dao, Lo Xo, Sai Gon, Bach Ma, Phong Nha, Ke Bang, birding maps,Xuan Thuy, Di Linh, Tan Phu, deo Nui san, Nguyen Hoai Bao, Bjoin anderson, Nick Dimond, Hugh Buck, Da Lat city, langbiang, Tan Phu park, Thac Mai, Nha Trang, Phan Thiet, Ninh Chu, Vinh Hy, Buon Don, Con Dao Island, Phu Quoc Island';
66         $this->seo_description='Guide to the birds of Vietnam and Southeast Asia Countries including Brunei Darussalam, Cambodia, Indonesia, Lao PDR, Malaysia, Myanmar, Philippines, Singapore, Thailand.';
67         $this->render('index', $data);
68     }
69 }
#12
+
 /home/birdcom/domains/birdwatchingvietnam.net/public_html/index.php(12): CApplication->run()
07 defined('YII_DEBUG') or define('YII_DEBUG',true);
08 // specify how many levels of call stack should be shown in each log message
09 //defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
10 require_once($yii);
11 
12 Yii::createWebApplication($config)->run();
13 
14 
2024-03-29 06:22:38 Apache/2 Yii Framework/1.1.13