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(1304)

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

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-07-25 22:13:02 Apache/2.2.15 (CentOS) Yii Framework/1.1.14