TInvalidOperationException

Description

Component 'ViewPost' is evaluating an invalid expression '$this->G2J_Text(date('Y-m-d H:i:s',$this->CurrentPost->CreateTime))' : [Unknown Error] Function split() is deprecated (@line 143 in file /home/yahayco/public_html/protected/Common/BlogPage.php)..

Source File

/home/yahayco/public_html/framework/TComponent.php (402)

0391:      */
0392:     public function evaluateExpression($expression)
0393:     {
0394:         try
0395:         {
0396:             if(eval("\$result=$expression;")===false)
0397:                 throw new Exception('');
0398:             return $result;
0399:         }
0400:         catch(Exception $e)
0401:         {
0402: throw new TInvalidOperationException('component_expression_invalid',get_class($this),$expression,$e->getMessage());
0403: } 0404: } 0405: 0406: /** 0407: * Evaluates a list of PHP statements. 0408: * @param string PHP statements 0409: * @return string content echoed or printed by the PHP statements 0410: * @throws TInvalidOperationException if the statements are invalid 0411: */ 0412: public function evaluateStatements($statements) 0413: { 0414: try

Stack Trace

#0 /home/yahayco/public_html/framework/Web/UI/TControl.php(2351): TComponent->evaluateExpression('$this->G2J_Text...')
#1 /home/yahayco/public_html/framework/Web/UI/TControl.php(1321): TCompositeLiteral->evaluateDynamicContent()
#2 /home/yahayco/public_html/framework/Web/UI/TControl.php(1319): TControl->preRenderRecursive()
#3 /home/yahayco/public_html/framework/Web/UI/TControl.php(1319): TControl->preRenderRecursive()
#4 /home/yahayco/public_html/framework/Web/UI/TControl.php(1319): TControl->preRenderRecursive()
#5 /home/yahayco/public_html/framework/Web/UI/TPage.php(215): TControl->preRenderRecursive()
#6 /home/yahayco/public_html/framework/Web/UI/TPage.php(193): TPage->processNormalRequest(Object(THtmlWriter))
#7 /home/yahayco/public_html/framework/Web/Services/TPageService.php(474): TPage->run(Object(THtmlWriter))
#8 /home/yahayco/public_html/framework/Web/Services/TPageService.php(420): TPageService->runPage(Object(ViewPost), Array)
#9 /home/yahayco/public_html/framework/TApplication.php(1066): TPageService->run()
#10 /home/yahayco/public_html/framework/TApplication.php(376): TApplication->runService()
#11 /home/yahayco/public_html/index.php(28): TApplication->run()
#12 {main}
2013-06-19 19:08 LiteSpeed PRADO/3.1.2