[Notice] Trying to get property of non-object (@line 28 in file /www/fabricdepot/protected/App_Code/Dao/ProductDao.php).
/www/fabricdepot/protected/Pages/ProductPage.php (31)
0020: if(isset($request['pageid']))
0021: $productPageID=$request['pageid'];
0022:
0023: // MemCached!
0024: if($cacheObject=$this->Application->getCache()->get('FD_Product_'.$productPageID))
0025: {
0026: $catalogProduct=$cacheObject;
0027: }
0028: else
0029: {
0030: $dao = $this->Application->Modules['daos']->getDao("ProductDao");
0031: $catalogProduct=$dao->getProductByID((integer)$productPageID);
0032: $this->Application->getCache()->add('FD_Product_'.$productPageID,$catalogProduct);
0033: }
0034: $this->theProduct=$catalogProduct;
0035:
0036:
0037: if($this->theProduct->allowPartialYard != 1){
0038: $this->fractqty_label->setStyle('visibility:hidden');
0039: $this->fractqty_label->setStyle('display:none');
0040: $this->fractqty->setStyle('visibility:hidden');
0041: $this->fractqty->setStyle('display:none');
0042: $this->yds->setStyle('visibility:hidden');
0043: $this->yds->setStyle('display:none');
#0 /www/fabricdepot/protected/App_Code/Dao/ProductDao.php(28): PradoBase::phpErrorHandler(8, 'Trying to get p...', '/www/fabricdepo...', 28, Array)
#1 /www/fabricdepot/protected/Pages/ProductPage.php(31): ProductDao->getProductByID(127488)
#2 /www/prado/latest/framework/Web/UI/TControl.php(1240): ProductPage->onLoad(NULL)
#3 /www/prado/latest/framework/Web/UI/TPage.php(206): TControl->loadRecursive()
#4 /www/prado/latest/framework/Web/UI/TPage.php(189): TPage->processNormalRequest(Object(THtmlWriter))
#5 /www/prado/latest/framework/Web/Services/TPageService.php(436): TPage->run(Object(THtmlWriter))
#6 /www/prado/latest/framework/Web/Services/TPageService.php(388): TPageService->runPage(Object(ProductPage), Array)
#7 /www/prado/latest/framework/TApplication.php(1062): TPageService->run()
#8 /www/prado/latest/framework/TApplication.php(381): TApplication->runService()
#9 /www/fabricdepot/index.php(14): TApplication->run()
#10 {main}