[Warning] Undefined array key 1 (@line 73 in file /home/cmfce/smartmarriages.com/framework/prado/framework/Exceptions/TException.php).
/home/cmfce/smartmarriages.com/framework/prado/framework/Exceptions/TException.php (402)
0391: * Constructor.
0392: * @param integer HTTP status code, such as 404, 500, etc.
0393: * @param string error message. This can be a string that is listed
0394: * in the message file. If so, the message in the preferred language
0395: * will be used as the error message. Any rest parameters will be used
0396: * to replace placeholders ({0}, {1}, {2}, etc.) in the message.
0397: */
0398: public function __construct($statusCode,$errorMessage)
0399: {
0400: $this->_statusCode=$statusCode;
0401: $this->setErrorCode($errorMessage);
0402: $errorMessage=$this->translateErrorMessage($errorMessage);
0403: $args=func_get_args();
0404: array_shift($args);
0405: array_shift($args);
0406: $n=count($args);
0407: $tokens=array();
0408: for($i=0;$i<$n;++$i)
0409: $tokens['{'.$i.'}']=TPropertyValue::ensureString($args[$i]);
0410: parent::__construct(strtr($errorMessage,$tokens));
0411: }
0412:
0413: /**
0414: * @return integer HTTP status code, such as 404, 500, etc.
#0 /home/cmfce/smartmarriages.com/framework/prado/framework/Exceptions/TException.php(73): PradoBase::phpErrorHandler(2, 'Undefined array...', '/home/cmfce/sma...', 73)
#1 /home/cmfce/smartmarriages.com/framework/prado/framework/Exceptions/TException.php(402): TException->translateErrorMessage('prog_id_invalid')
#2 /home/cmfce/smartmarriages.com/webapp/protected/Pages/Directory/ViewProgram.php(32): THttpException->__construct(500, 'prog_id_invalid', 158)
#3 /home/cmfce/smartmarriages.com/framework/prado/framework/Web/UI/TControl.php(1270): ViewProgram->onInit(NULL)
#4 /home/cmfce/smartmarriages.com/framework/prado/framework/Web/UI/TCompositeControl.php(35): TControl->initRecursive(Object(ViewProgram))
#5 /home/cmfce/smartmarriages.com/framework/prado/framework/Web/UI/TTemplateControl.php(240): TCompositeControl->initRecursive(NULL)
#6 /home/cmfce/smartmarriages.com/framework/prado/framework/Web/UI/TPage.php(202): TTemplateControl->initRecursive()
#7 /home/cmfce/smartmarriages.com/framework/prado/framework/Web/UI/TPage.php(193): TPage->processNormalRequest(Object(THtmlWriter))
#8 /home/cmfce/smartmarriages.com/framework/prado/framework/Web/Services/TPageService.php(472): TPage->run(Object(THtmlWriter))
#9 /home/cmfce/smartmarriages.com/framework/prado/framework/Web/Services/TPageService.php(418): TPageService->runPage(Object(ViewProgram), Array)
#10 /home/cmfce/smartmarriages.com/framework/prado/framework/TApplication.php(1066): TPageService->run()
#11 /home/cmfce/smartmarriages.com/framework/prado/framework/TApplication.php(376): TApplication->runService()
#12 /home/cmfce/smartmarriages.com/webapp/index.php(30): TApplication->run()
#13 {main}