top engineering college in karur


Welcome Home

login to C-Tech Connect

Lost your password?
PHP warning

PHP warning

Invalid argument supplied for foreach()

/var/www/html/protected/controllers/IntranetController.php(1300)

1288     
1289     public function actionunivarietyAlumniGuide()
1290     {
1291         $this->render('Header');
1292         $this->render('topbar');
1293         $this->render('menu');
1294         $response = $this->callAPIRequest("https://ags.univariety.com/common/v1/schoolapi/insights");
1295         $data['alumniCount'] = $response['data']['alumniCount'];
1296         
1297         $response = $this->callAPIRequest("https://ags.univariety.com/common/v1/schoolapi/alumni-profile-card");
1298         $alumniProfile = $response['data'];
1299         $filteredProfile = array();
1300         foreach ($alumniProfile as $alumnus) {
1301             if (!empty($alumnus['image_path'])) {
1302                 $filteredProfile[] = $alumnus;
1303             }
1304         }
1305         $data['alumniProfile'] = $filteredProfile;
1306         
1307         
1308         $this->render('univariety_alumni_guide', $data);
1309         $this->render('footer');
1310     }
1311 // Alumniportal guide
1312     

Stack Trace

#7
+
 /var/www/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 
11 require_once($yii);
12 Yii::createWebApplication($config)->run();
13 ?>
2026-02-28 02:43:34 Apache/2.2.15 (CentOS) Yii Framework/1.1.14