TInvalidOperationException

Description

Component property 'ContactUs.SiteAddress' is not defined.

Source File

/home/holiday/public_html/protected/pages/ContactUs.php (23)

0012:         $this->BottomDescription->Text = $PageInfo["PageBottomDescription"];
0013: 
0014:         $Address = "Holiday-Invitations<br>
0015:                     200 Production Drive<br>
0016:                     Store 9<br>
0017:                     Lafayette, LA 70508<br>
0018:                     Local: ". $this->Application->Parameters['SiteTelephone']."<br>
0019:                     Toll Free: ". $this->Application->Parameters['TollFreeTelephone']."<br>
0020:                     Fax: ". $this->Application->Parameters['SiteFax']."<br>
0021:                     <a href='mailto:CCare@Holiday-Invitations.com'>Email Us</a> ";
0022: 
0023: $this->SiteAddress->Text = $Address;
0024: 0025: // Added by Anoop [16-07-2009] 0026: $NewStats = new tblCatStats; 0027: $NewStats->PageName = $PageName; 0028: $NewStats->StatDate = time(); 0029: $NewStats->Level = 0; 0030: $NewStats->Referrer = $_SERVER["HTTP_REFERER"]; 0031: $NewStats->IPAddress = $_SERVER["REMOTE_ADDR"]; 0032: $NewStats->save(); 0033: } 0034: } 0035: ?>

Stack Trace

#0 /home/holiday/framework-3.10/Web/UI/TControl.php(204): TComponent->__get('SiteAddress')
#1 /home/holiday/public_html/protected/pages/ContactUs.php(23): TControl->__get('SiteAddress')
#2 /home/holiday/framework-3.10/Web/UI/TControl.php(1286): ContactUs->onLoad(NULL)
#3 /home/holiday/framework-3.10/Web/UI/TPage.php(215): TControl->loadRecursive()
#4 /home/holiday/framework-3.10/Web/UI/TPage.php(198): TPage->processNormalRequest(Object(THtmlWriter))
#5 /home/holiday/framework-3.10/Web/Services/TPageService.php(498): TPage->run(Object(THtmlWriter))
#6 /home/holiday/framework-3.10/Web/Services/TPageService.php(444): TPageService->runPage(Object(ContactUs), Array)
#7 /home/holiday/framework-3.10/TApplication.php(1095): TPageService->run()
#8 /home/holiday/framework-3.10/TApplication.php(382): TApplication->runService()
#9 /home/holiday/public_html/index.php(20): TApplication->run()
#10 {main}
2017-08-20 08:41 Apache/2.4.18 (Ubuntu) PRADO/3.1.10