PHP warning

Undefined variable $jnu

/home3/jilan/public_html/protected/views/news/country.php(417)

405                         $stmt = $GLOBALS["mysqli_con"]->prepare("SELECT COUNT(*) as count FROM followers WHERE following_id = ?");
406                         $stmt->bind_param("i", $profileUserId);
407                         $stmt->execute();
408                         $result = $stmt->get_result();
409                         if ($countRow = $result->fetch_assoc()) {
410                             $followerCount = $countRow['count'];
411                         }
412                         ?>
413          
414             <div class="col-lg-12 mb-30">
415                         <div class="post">
416                             <div class="post-header">
417                                 <a href="<?php echo REDIRECT . 'site/userpf?id=' . $row['id']; ?>"><img src="<?php echo $jnu; ?>" alt="Autocrypt Logo" class="profile-pic" ></a>
418                                 <div class="post-info">
419                                     <h1><?php echo $row['uname']; ?></h1>
420                                     <p>Post Date:- <?php echo $row['dop']; ?></p>
421                                 </div>
422                                 <div class="follow-button">
423                                   <?php if ($isLoggedIn && $currentUserId != $profileUserId): ?>
424                                         <button class="follow-btn" id="follow-btn"
425                                                 onclick="toggleFollow(<?= $currentUserId ?>, <?= $profileUserId ?>)">
426                                             <?= $isFollowing ? 'Unfollow' : 'Follow' ?>
427                                         </button>
428                                     <?php endif; ?>
429                                     

Stack Trace

#4
+
 /home3/jilan/public_html/protected/controllers/NewsController.php(59): CController->render("country")
54        public function actionState() {
55         $this->render('state');
56     }
57          
58        public function actionCountry() {
59         $this->render('country');
60     }
61     public function actionSearch() {
62         $this->render('search');
63     }
64    public function actionCategory() {
#17
+
 /home3/jilan/public_html/index.php(22): CApplication->run()
17     defined('YII_DEBUG') or define('YII_DEBUG', true);
18 // specify how many levels of call stack should be shown in each log message
19     defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3);
20 
21     require_once($yii);
22     Yii::createWebApplication($config)->run();
23 }  
2026-03-10 17:28:37 Apache Yii Framework/1.1.10