TInvalidOperationException

Description

Component 'NewsDetailsControl' is evaluating an invalid expression '$this->Description' : [Notice] Trying to get property of non-object (@line 43 in file /home/everynature/ftp/startmoney/protected/Controls/NewsDetailsControl.php)..

Source File

/home/everynature/ftp/startmoney/prado-3.1.10.r3017/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/everynature/ftp/startmoney/prado-3.1.10.r3017/framework/pradolite.php(4683): TComponent->evaluateExpression('$this->Descript...')
#1 /home/everynature/ftp/startmoney/prado-3.1.10.r3017/framework/pradolite.php(4239): TCompositeLiteral->evaluateDynamicContent()
#2 /home/everynature/ftp/startmoney/prado-3.1.10.r3017/framework/pradolite.php(4237): TControl->preRenderRecursive()
#3 /home/everynature/ftp/startmoney/prado-3.1.10.r3017/framework/pradolite.php(4237): TControl->preRenderRecursive()
#4 /home/everynature/ftp/startmoney/prado-3.1.10.r3017/framework/pradolite.php(4237): TControl->preRenderRecursive()
#5 /home/everynature/ftp/startmoney/prado-3.1.10.r3017/framework/pradolite.php(4237): TControl->preRenderRecursive()
#6 /home/everynature/ftp/startmoney/prado-3.1.10.r3017/framework/pradolite.php(6225): TControl->preRenderRecursive()
#7 /home/everynature/ftp/startmoney/prado-3.1.10.r3017/framework/pradolite.php(6215): TPage->processNormalRequest(Object(THtmlWriter))
#8 /home/everynature/ftp/startmoney/prado-3.1.10.r3017/framework/pradolite.php(8340): TPage->run(Object(THtmlWriter))
#9 /home/everynature/ftp/startmoney/prado-3.1.10.r3017/framework/pradolite.php(8306): TPageService->runPage(Object(NewsDetails), Array)
#10 /home/everynature/ftp/startmoney/prado-3.1.10.r3017/framework/pradolite.php(9297): TPageService->run()
#11 /home/everynature/ftp/startmoney/prado-3.1.10.r3017/framework/pradolite.php(8899): TApplication->runService()
#12 /home/everynature/ftp/startmoney/index.php(28): TApplication->run()
#13 {main}
2017-07-22 18:48 Apache/2 PRADO/3.1.10