Component 'TRepeaterItem' is evaluating an invalid expression '(ucfirst($this->DataItem['lang']=='bg'?Бг:$this->DataItem['lang']))' : [Warning] Use of undefined constant Бг - assumed 'Бг' (this will throw an Error in a future version of PHP) (@line 1 in file /home/joyopti/public_html/grand/framework/TComponent.php(396) : eval()'d code)..
/home/joyopti/public_html/grand/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
#0 /home/joyopti/public_html/grand/framework/Web/UI/TControl.php(846): TComponent->evaluateExpression('(ucfirst($this-...')
#1 /home/joyopti/public_html/grand/framework/Web/UI/TControl.php(830): TControl->dataBindProperties()
#2 /home/joyopti/public_html/grand/framework/Web/UI/TControl.php(874): TControl->dataBind()
#3 /home/joyopti/public_html/grand/framework/Web/UI/TControl.php(832): TControl->dataBindChildren()
#4 /home/joyopti/public_html/grand/framework/Web/UI/WebControls/TRepeater.php(501): TControl->dataBind()
#5 /home/joyopti/public_html/grand/framework/Web/UI/WebControls/TRepeater.php(681): TRepeater->createItemWithDataInternal(0, 'Item', Array)
#6 /home/joyopti/public_html/grand/framework/Web/UI/WebControls/TDataBoundControl.php(354): TRepeater->performDataBinding(Object(TMap))
#7 /home/joyopti/public_html/grand/protected/Portlets/LanguagePortlet.php(23): TDataBoundControl->dataBind()
#8 /home/joyopti/public_html/grand/framework/Web/UI/TControl.php(1270): LanguagePortlet->onInit(NULL)
#9 /home/joyopti/public_html/grand/framework/Web/UI/TCompositeControl.php(35): TControl->initRecursive(Object(LanguagePortlet))
#10 /home/joyopti/public_html/grand/framework/Web/UI/TTemplateControl.php(240): TCompositeControl->initRecursive(Object(HeaderPortlet))
#11 /home/joyopti/public_html/grand/framework/Web/UI/TControl.php(1255): TTemplateControl->initRecursive(Object(HeaderPortlet))
#12 /home/joyopti/public_html/grand/framework/Web/UI/TCompositeControl.php(35): TControl->initRecursive(Object(HeaderPortlet))
#13 /home/joyopti/public_html/grand/framework/Web/UI/TTemplateControl.php(240): TCompositeControl->initRecursive(Object(MainLayout))
#14 /home/joyopti/public_html/grand/framework/Web/UI/TControl.php(1255): TTemplateControl->initRecursive(Object(MainLayout))
#15 /home/joyopti/public_html/grand/framework/Web/UI/TControl.php(1255): TControl->initRecursive(Object(MainLayout))
#16 /home/joyopti/public_html/grand/framework/Web/UI/TCompositeControl.php(35): TControl->initRecursive(Object(MainLayout))
#17 /home/joyopti/public_html/grand/framework/Web/UI/TTemplateControl.php(240): TCompositeControl->initRecursive(Object(Home))
#18 /home/joyopti/public_html/grand/framework/Web/UI/TControl.php(1255): TTemplateControl->initRecursive(Object(Home))
#19 /home/joyopti/public_html/grand/framework/Web/UI/TCompositeControl.php(35): TControl->initRecursive(Object(Home))
#20 /home/joyopti/public_html/grand/framework/Web/UI/TTemplateControl.php(240): TCompositeControl->initRecursive(NULL)
#21 /home/joyopti/public_html/grand/framework/Web/UI/TPage.php(207): TTemplateControl->initRecursive()
#22 /home/joyopti/public_html/grand/framework/Web/UI/TPage.php(198): TPage->processNormalRequest(Object(THtmlWriter))
#23 /home/joyopti/public_html/grand/framework/Web/Services/TPageService.php(498): TPage->run(Object(THtmlWriter))
#24 /home/joyopti/public_html/grand/framework/Web/Services/TPageService.php(444): TPageService->runPage(Object(Home), Array)
#25 /home/joyopti/public_html/grand/framework/TApplication.php(1095): TPageService->run()
#26 /home/joyopti/public_html/grand/framework/TApplication.php(382): TApplication->runService()
#27 /home/joyopti/public_html/grand/index.php(32): TApplication->run()
#28 {main}