[Notice] Trying to get property of non-object

GET /ons-aanbod/Wijnen/herdade-fonte-paredes-15.html

Line 764 in /data/sites/web/portuvinhobe/www/bproducts/code/ProductPage.php

Source

755 							$listData['Introtext']=Lib::splitString(Lib::getStringIntrotext($item->Introtext),$this->count_number,'...');
756 							$dataObject->push(new ArrayData($listData));
757 						}
758 						$value=$dataObject;
759 					}
760 				}
761 			}else{
762 				//lay sanh sach san pham tu catID
763 				$obIdCategory=DataObject::get_one('P_categories',"Alias='$alias'");
764 				$valueData=DataObject::get('Products',"catID='$obIdCategory->ID'","ID ASC");
765 				if($valueData){
766 					foreach($valueData as $item){
767 						$listData['Title']=$item->Title;
768 						$listData['Introtext']=$item->Introtext;
769 						$listData['Image']=Lib::getImages($item->ImageID);
770 						$listData['Link']=Lib::getURLSegmentByClassName('ProductPage').'/details/'.$item->Alias.'.html';

Trace