TInvalidOperationException

Description

Component property 'TContent.Repeater' is not defined.

Source File

/home/users/1/gyertyagyujtas.hu/web/www/html/protected/Common/Pager.php (10)

0001: <?php
0002: class Pager extends TPager {
0003:     const BASE_PAGE='base_page_for_links';
0004: 
0005:     public function onInit($param) {
0006:         parent::onInit($param);
0007:         if(!$this->Page->IsPostBack) {
0008:             if ($pg=(int)$this->Page->Request['oldal']) { // Ettől az oldaltól
0009:                 $pager=$this->ControlToPaginate;
0010: $this->Parent->$pager->CurrentPageIndex=$pg-1;
0011: } 0012: } 0013: } 0014: 0015: protected function createPagerButton($buttonType, $enabled, $text, $commandName, $commandParameter) { 0016: switch ($commandName) { 0017: case TPager::CMD_PAGE_FIRST: $enabled=true; $commandName=TPager::CMD_PAGE; $commandParameter=1; break; 0018: case TPager::CMD_PAGE_PREV : $commandName=TPager::CMD_PAGE; $commandParameter=$this->getCurrentPageIndex(); $enabled=($commandParameter>0); break; 0019: case TPager::CMD_PAGE_NEXT : $commandName=TPager::CMD_PAGE; $commandParameter=$this->getCurrentPageIndex()+2; $enabled=($commandParameter<=$this->getPageCount()); break; 0020: case TPager::CMD_PAGE_LAST : $enabled=true; $commandName=TPager::CMD_PAGE; $commandParameter=$this->getPageCount(); break; 0021: case TPager::CMD_PAGE : break; 0022: default : return parent::createPagerButton($buttonType, $enabled, $text, $commandName, $commandParameter);

Stack Trace

#0 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(4557): TComponent->__get('Repeater')
#1 /home/users/1/gyertyagyujtas.hu/web/www/html/protected/Common/Pager.php(10): TControl->__get('Repeater')
#2 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(5160): Pager->onInit(NULL)
#3 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(5145): TControl->initRecursive(Object(TContent))
#4 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(5145): TControl->initRecursive(Object(MainWithSubMenuLayout))
#5 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(5145): TControl->initRecursive(Object(MainWithSubMenuLayout))
#6 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(6705): TControl->initRecursive(Object(Index))
#7 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(6821): TCompositeControl->initRecursive(Object(Index))
#8 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(5145): TTemplateControl->initRecursive(Object(Index))
#9 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(6705): TControl->initRecursive(NULL)
#10 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(6821): TCompositeControl->initRecursive(NULL)
#11 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(7430): TTemplateControl->initRecursive()
#12 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(7424): TPage->processNormalRequest(Object(THtmlWriter))
#13 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(9625): TPage->run(Object(THtmlWriter))
#14 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(9591): TPageService->runPage(Object(Index), Array)
#15 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(10772): TPageService->run()
#16 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(10303): TApplication->runService()
#17 /home/users/1/gyertyagyujtas.hu/web/www/html/index.php(28): TApplication->run()
#18 {main}
2021-09-22 08:01 Apache/2.4.10 (Debian) PRADO/3.2.4