TPhpErrorException

Description

[Warning] Undefined array key 1 (@line 73 in file /home/cmfce/smartmarriages.com/framework/prado/framework/Exceptions/TException.php).

Source File

/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.

Stack Trace

#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('Requested page ...')
#2 /home/cmfce/smartmarriages.com/webapp/protected/Pages/Content/ViewPage.php(38): THttpException->__construct(404, 'Requested page ...')
#3 /home/cmfce/smartmarriages.com/framework/prado/framework/Web/UI/TControl.php(1270): ViewPage->onInit(NULL)
#4 /home/cmfce/smartmarriages.com/framework/prado/framework/Web/UI/TCompositeControl.php(35): TControl->initRecursive(Object(ViewPage))
#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(ViewPage), 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}
2023-12-08 21:14 Apache PRADO/3.1.0
Application Log
  CategoryMessageTime Spent (s)Cumulated Time Spent (s)
  Application Showing content page for URL key: conference.details 0.007388 0.007388
  Application Page not found /conference.details.html requested from page (direct link) 0.000000 0.007388
DEBUGINFONOTICEWARNINGERRORALERTFATAL