TInvalidDataValueException

Description

TConditional.Condition '$this->isLocked()' is not a valid PHP expression: Component 'Collection' is evaluating an invalid expression '$this->isLocked()' : [Warning] DOMDocument::loadXML(): Empty string supplied as input (@line 12 in file /var/www/protected/SNS/RelsExt.php)..

Source File

/var/www/prado-3.1.10.r3017/framework/Web/UI/WebControls/TConditional.php (81)

0070:      */
0071:     public function createChildControls()
0072:     {
0073:         $this->_creatingChildren=true;
0074:         $result=true;
0075:         try
0076:         {
0077:             $result=$this->getTemplateControl()->evaluateExpression($this->_condition);
0078:         }
0079:         catch(Exception $e)
0080:         {
0081: throw new TInvalidDataValueException('conditional_condition_invalid',$this->_condition,$e->getMessage());
0082: } 0083: if($result) 0084: { 0085: if($this->_trueTemplate) 0086: $this->_trueTemplate->instantiateIn($this->getTemplateControl(),$this); 0087: } 0088: else if($this->_falseTemplate) 0089: $this->_falseTemplate->instantiateIn($this->getTemplateControl(),$this); 0090: $this->_creatingChildren=false; 0091: } 0092: 0093: /**

Stack Trace

#0 /var/www/prado-3.1.10.r3017/framework/Web/UI/TControl.php(918): TConditional->createChildControls()
#1 /var/www/prado-3.1.10.r3017/framework/Web/UI/TControl.php(1241): TControl->ensureChildControls()
#2 /var/www/prado-3.1.10.r3017/framework/Web/UI/TControl.php(1255): TControl->initRecursive(Object(TContent))
#3 /var/www/prado-3.1.10.r3017/framework/Web/UI/TControl.php(1255): TControl->initRecursive(Object(MainLayout))
#4 /var/www/prado-3.1.10.r3017/framework/Web/UI/TControl.php(1255): TControl->initRecursive(Object(MainLayout))
#5 /var/www/prado-3.1.10.r3017/framework/Web/UI/TCompositeControl.php(35): TControl->initRecursive(Object(Collection))
#6 /var/www/prado-3.1.10.r3017/framework/Web/UI/TTemplateControl.php(240): TCompositeControl->initRecursive(Object(Collection))
#7 /var/www/prado-3.1.10.r3017/framework/Web/UI/TControl.php(1255): TTemplateControl->initRecursive(Object(Collection))
#8 /var/www/prado-3.1.10.r3017/framework/Web/UI/TCompositeControl.php(35): TControl->initRecursive(NULL)
#9 /var/www/prado-3.1.10.r3017/framework/Web/UI/TTemplateControl.php(240): TCompositeControl->initRecursive(NULL)
#10 /var/www/prado-3.1.10.r3017/framework/Web/UI/TPage.php(207): TTemplateControl->initRecursive()
#11 /var/www/prado-3.1.10.r3017/framework/Web/UI/TPage.php(198): TPage->processNormalRequest(Object(THtmlWriter))
#12 /var/www/prado-3.1.10.r3017/framework/Web/Services/TPageService.php(498): TPage->run(Object(THtmlWriter))
#13 /var/www/prado-3.1.10.r3017/framework/Web/Services/TPageService.php(444): TPageService->runPage(Object(Collection), Array)
#14 /var/www/prado-3.1.10.r3017/framework/TApplication.php(1095): TPageService->run()
#15 /var/www/prado-3.1.10.r3017/framework/TApplication.php(382): TApplication->runService()
#16 /var/www/index.php(23): TApplication->run()
#17 {main}
2020-09-26 12:30 Apache PRADO/3.1.10