PHP warning

Undefined variable $jnu

/home3/jilan/public_html/protected/views/ngo/country.php(379)

367                         $followerCount = 0;
368                         $stmt = $GLOBALS["mysqli_con"]->prepare("SELECT COUNT(*) as count FROM followers WHERE following_id = ?");
369                         $stmt->bind_param("i", $profileUserId);
370                         $stmt->execute();
371                         $result = $stmt->get_result();
372                         if ($countRow = $result->fetch_assoc()) {
373                             $followerCount = $countRow['count'];
374                         }
375                         ?>
376             <div class="col-lg-12 mb-30">
377                         <div class="post">
378                             <div class="post-header">
379                                 <a href="<?php echo REDIRECT . 'site/userpf?id=' . $row['id']; ?>"><img src="<?php echo $jnu; ?>" alt="Autocrypt Logo" class="profile-pic" ></a>
380                                 <div class="post-info">
381                                     <h1><?php echo $row['uname']; ?></h1>
382                                     <p>Post Date:- <?php echo $row['dop']; ?></p>
383                                 </div>
384                                 <div class="follow-button">
385                                   <?php if ($isLoggedIn && $currentUserId != $profileUserId): ?>
386                                         <button class="follow-btn" id="follow-btn"
387                                                 onclick="toggleFollow(<?= $currentUserId ?>, <?= $profileUserId ?>)">
388                                             <?= $isFollowing ? 'Unfollow' : 'Follow' ?>
389                                         </button>
390                                     <?php endif; ?>
391                                     

Stack Trace

#4
+
 /home3/jilan/public_html/protected/controllers/NgoController.php(58): CController->render("country")
53        public function actionSearch() {
54         $this->render('search');
55     }
56          
57        public function actionCountry() {
58         $this->render('country');
59     }
60   public function actionDisplay() {
61         $this->render('display');
62     }
63     /**
#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 18:37:11 Apache Yii Framework/1.1.10