TPhpErrorException

Description

[Notice] Undefined property: stdClass::$ID (@line 326 in file /var/www/protected/Controls/RelatedContentControl.php).

Source File

/var/www/protected/Controls/RelatedContentControl.php (326)

0315:                         $this->_posterThumbMode = $r->marArticleFrom->ThumbnailMode;
0316:                     }
0317:                 }
0318:             }
0319: 
0320:             $this->DisplayList->DataSource = $related;
0321:             $this->DisplayList->dataBind();
0322:         }
0323:         if (trim($this->getType()) === 'Biography') {
0324:             $ids = [];
0325:             foreach ($related as $key) {
0326: $ids[] = $key->ID;
0327: } 0328: $this->setResults($ids); 0329: } 0330: $this->setCount(!$this->IsReadOnly ? count($DTOs) : count($related)); 0331: } 0332: 0333: /** 0334: * @var 0335: */ 0336: protected $_poster; 0337: 0338: /**

Stack Trace

#0 /var/www/protected/Controls/RelatedContentControl.php(326): PradoBase::phpErrorHandler(8, 'Undefined prope...', '/var/www/protec...', 326, Array)
#1 /var/www/protected/Controls/BaseDetailsControl.php(207): RelatedContentControl->setValues(Array)
#2 /var/www/protected/Controls/ArticleDetailsControl.php(75): BaseDetailsControl->onPreRender(NULL)
#3 /var/www/framework/framework/Web/UI/TControl.php(1320): ArticleDetailsControl->onPreRender(NULL)
#4 /var/www/framework/framework/Web/UI/TControl.php(1326): TControl->preRenderRecursive()
#5 /var/www/framework/framework/Web/UI/TControl.php(1326): TControl->preRenderRecursive()
#6 /var/www/framework/framework/Web/UI/TControl.php(1326): TControl->preRenderRecursive()
#7 /var/www/framework/framework/Web/UI/TControl.php(1326): TControl->preRenderRecursive()
#8 /var/www/framework/framework/Web/UI/TControl.php(1326): TControl->preRenderRecursive()
#9 /var/www/framework/framework/Web/UI/TControl.php(1326): TControl->preRenderRecursive()
#10 /var/www/framework/framework/Web/UI/TControl.php(1326): TControl->preRenderRecursive()
#11 /var/www/framework/framework/Web/UI/TControl.php(1326): TControl->preRenderRecursive()
#12 /var/www/framework/framework/Web/UI/TPage.php(225): TControl->preRenderRecursive()
#13 /var/www/framework/framework/Web/UI/TPage.php(201): TPage->processNormalRequest(Object(THtmlWriter))
#14 /var/www/framework/framework/Web/Services/TPageService.php(522): TPage->run(Object(THtmlWriter))
#15 /var/www/framework/framework/Web/Services/TPageService.php(468): TPageService->runPage(Object(Articles), Array)
#16 /var/www/framework/framework/TApplication.php(1219): TPageService->run()
#17 /var/www/framework/framework/TApplication.php(408): TApplication->runService()
#18 /var/www/index.php(41): TApplication->run()
#19 {main}
2019-11-21 17:29 nginx/1.4.6 PRADO/3.2.4