PHP warning

Undefined variable $jnu

/home3/jilan/public_html/protected/views/students/country.php(399)

387                         $stmt = $GLOBALS["mysqli_con"]->prepare("SELECT COUNT(*) as count FROM followers WHERE following_id = ?");
388                         $stmt->bind_param("i", $profileUserId);
389                         $stmt->execute();
390                         $result = $stmt->get_result();
391                         if ($countRow = $result->fetch_assoc()) {
392                             $followerCount = $countRow['count'];
393                         }
394                         ?>
395          
396             <div class="col-lg-12 mb-30">
397                         <div class="post">
398                             <div class="post-header">
399                                 <a href="<?php echo REDIRECT . 'site/userpf?id=' . $row['id']; ?>"><img src="<?php echo $jnu; ?>" alt="Autocrypt Logo" class="profile-pic" ></a>
400                                 <div class="post-info">
401                                     <h1><?php echo $row['uname']; ?></h1>
402                                     <p>Post Date:- <?php echo $row['dop']; ?></p>
403                                 </div>
404                                 <div class="follow-button">
405                                   <?php if ($isLoggedIn && $currentUserId != $profileUserId): ?>
406                                         <button class="follow-btn" id="follow-btn"
407                                                 onclick="toggleFollow(<?= $currentUserId ?>, <?= $profileUserId ?>)">
408                                             <?= $isFollowing ? 'Unfollow' : 'Follow' ?>
409                                         </button>
410                                     <?php endif; ?>
411                                     

Stack Trace

#4
+
 /home3/jilan/public_html/protected/controllers/StudentsController.php(65): CController->render("country")
60        public function actionState() {
61         $this->render('state');
62     }
63          
64        public function actionCountry() {
65         $this->render('country');
66     }
67     public function actionDisplay() {
68         $this->render('display');
69     }
70 
#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:27:07 Apache Yii Framework/1.1.10