Error

Description

Call to a member function getIconId() on null

Source File

/home/users/1/gyertyagyujtas.hu/web/www/html/protected/pages/gyertyak/common/Gyertyaszal2.php (18)

0007: 
0008: class Gyertyaszal2 extends TTemplateControl {
0009: 
0010:     private $_rec="";
0011:     private $_alt="";
0012:     private $_align="";
0013:     private $_title="";
0014: 
0015:     protected function getTitle() { return $this->_title; }
0016:     protected function getBaseUrl() { return $this->_rec->getGyertyaBaseUrl(); }
0017:     protected function getBorder() { return $this->_rec?$this->_rec->getBorderId():0; }
0018: protected function getIcon() { return $this->_rec->getIconId(); }
0019: public function getAlternateText() { return $this->_alt; } 0020: 0021: public function setGyertya($value) { $this->_rec=$value; } 0022: public function setImageAlign($value) { $this->_align=$value; } 0023: public function setAlternateText($value) { $this->_alt=$value; } 0024: 0025: }

Stack Trace

#0 /usr/share/prado/prado-3.2.4.re2e58b8/framework/TComponent.php(1234) : eval()'d code(1): Gyertyaszal2->getIcon()
#1 /usr/share/prado/prado-3.2.4.re2e58b8/framework/TComponent.php(1234): eval()
#2 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(5644): TComponent->evaluateExpression()
#3 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(5200): TCompositeLiteral->evaluateDynamicContent()
#4 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(5198): TControl->preRenderRecursive()
#5 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(5198): TControl->preRenderRecursive()
#6 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(5198): TControl->preRenderRecursive()
#7 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(5198): TControl->preRenderRecursive()
#8 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(5198): TControl->preRenderRecursive()
#9 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(7435): TControl->preRenderRecursive()
#10 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(7424): TPage->processNormalRequest()
#11 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(9625): TPage->run()
#12 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(9591): TPageService->runPage()
#13 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(10772): TPageService->run()
#14 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(10303): TApplication->runService()
#15 /home/users/1/gyertyagyujtas.hu/web/www/html/index.php(28): TApplication->run()
#16 {main}
2025-01-04 11:48 Apache/2.4.61 (Debian) PRADO/3.2.4