PHP warning

Undefined array key 3

/home3/searchdo/public_html/protected/views/site/membership.php(3)

01 <?php
02 $uri_segments = explode('/', parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH));
03 $uri_segments[3];
04 $pagename = $uri_segments[3];
05 $name = ucwords(str_replace("-", " ", $uri_segments[3]));
06 $this->pageTitle = $name.' | Nonprofit Template Redesigning | Payment Gateway | Web Hosting | Domain Registration';
07 Yii::app()->clientScript->registerMetaTag($name.' |  Nonprofit Template Redesigning | Payment Gateway | Web Hosting | Domain Name', 'keywords');
08 Yii::app()->clientScript->registerMetaTag('We are '.$name.'. We have designed 750+ NGOs website. Select design for your NGO and get design website in 7 days under your budget.', 'description');
09 $user = array('name' => 'Mr. Raj Kumar (Sr. Marketing Manager)',
10     'address' => '973/9, Govindpuri, Kalkaji ',
11     'city' => '',
12     'state' => 'New Delhi',
13     'country' => 'India',
14     'company' => 'Sahaniya Technologies (OPC) Pvt. Ltd.',
15     'pin' => '110019',

Stack Trace

#4
+
 /home3/searchdo/public_html/protected/controllers/SiteController.php(369): CController->render("membership")
364     public function actionAboutus() {
365         $this->render('aboutus');
366     }
367 
368     public function actionMembership() {
369         $this->render('membership');
370     }
371 
372     public function actionFeedback() {
373         $this->render('feedback');
374     }
#12
+
 /home3/searchdo/public_html/index.php(11): CApplication->run()
06 $yii = dirname(__FILE__) . '/beta_thora_bachke_rahna/kya_hal_hai_beta/framework/yii.php';
07         $config = dirname(__FILE__) . '/protected/config/main.php';
08         defined('YII_DEBUG') or define('YII_DEBUG', TRUE);
09         defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 0);
10         require_once($yii);
11         Yii::createWebApplication($config)->run(); 
12         ?>
2025-05-11 16:42:07 Apache Yii Framework/1.1.10