TConfigurationException

Description

TContent 'meta_keywords' does not have a matching TContentPlaceHolder.

Source File

/home/roboteach/domains/roboteach.ir/public_html/prado3.3/framework/pradolite.php (6820)

6809:     }
6810:     public function injectContent($id,$content)
6811:     {
6812:         if(isset($this->_placeholders[$id]))
6813:         {
6814:             $placeholder=$this->_placeholders[$id];
6815:             $controls=$placeholder->getParent()->getControls();
6816:             $loc=$controls->remove($placeholder);
6817:             $controls->insertAt($loc,$content);
6818:         }
6819:         else
6820: throw new TConfigurationException('templatecontrol_placeholder_inexistent',$id);
6821: } 6822: protected function initRecursive($namingContainer=null) 6823: { 6824: $this->ensureChildControls(); 6825: if($this->_masterClass!=='') 6826: { 6827: $master=Prado::createComponent($this->_masterClass); 6828: if(!($master instanceof TTemplateControl)) 6829: throw new TInvalidDataValueException('templatecontrol_mastercontrol_invalid'); 6830: $this->_master=$master; 6831: $this->getControls()->clear(); 6832: $this->getControls()->add($master);

Stack Trace

#0 /home/roboteach/domains/roboteach.ir/public_html/prado3.3/framework/pradolite.php(6835): TTemplateControl->injectContent('meta_keywords', Object(TContent))
#1 /home/roboteach/domains/roboteach.ir/public_html/prado3.3/framework/pradolite.php(7573): TTemplateControl->initRecursive()
#2 /home/roboteach/domains/roboteach.ir/public_html/prado3.3/framework/pradolite.php(7567): TPage->processNormalRequest(Object(THtmlWriter))
#3 /home/roboteach/domains/roboteach.ir/public_html/prado3.3/framework/pradolite.php(9776): TPage->run(Object(THtmlWriter))
#4 /home/roboteach/domains/roboteach.ir/public_html/prado3.3/framework/pradolite.php(9742): TPageService->runPage(Object(EachProduct), Array)
#5 /home/roboteach/domains/roboteach.ir/public_html/prado3.3/framework/pradolite.php(10923): TPageService->run()
#6 /home/roboteach/domains/roboteach.ir/public_html/prado3.3/framework/pradolite.php(10454): TApplication->runService()
#7 /home/roboteach/domains/roboteach.ir/public_html/index.php(51): TApplication->run()
#8 {main}
2020-08-15 01:00 Apache/2 PRADO/3.3.1