Index: branches/unlabeled/unlabeled-1.13.10/kernel/units/categories/categories_tag_processor.php =================================================================== diff -u -r3724 -r4039 --- branches/unlabeled/unlabeled-1.13.10/kernel/units/categories/categories_tag_processor.php (.../categories_tag_processor.php) (revision 3724) +++ branches/unlabeled/unlabeled-1.13.10/kernel/units/categories/categories_tag_processor.php (.../categories_tag_processor.php) (revision 4039) @@ -142,7 +142,11 @@ $sql = 'SELECT CategoryId, ParentId, Name FROM '.$this->Application->getUnitOption($this->Prefix, 'TableName').' WHERE CategoryId='.$params['cat_id']; $res = $this->Conn->GetRow($sql); - + if ($res === false) { + // in case if category is deleted + return ''; + } + $block_params['cat_name'] = $res['Name']; $block_params['cat_id'] = $res['CategoryId'];