Unhandled Error!

Trying to get property of non-object

Document tel_block
Document type CMS page block
Line 4
Exception class Cms_ExecutionException

Code Highlight

<!--<?php $this->render_partial('hs_tel'); ?>-->
 
 
<?php if($category->x_category_tel <= 1): ?>
	<?php $this->render_partial('hs_tel'); ?>
<?php elseif($category->x_category_tel == 2) : ?>
	<?php $this->render_partial('nws_tel'); ?>
<?php elseif($category->x_category_tel == 3) : ?>
	<?php $this->render_partial('cs_tel'); ?>
<?php elseif($category->x_category_tel == 4) : ?>
	<?php $this->render_partial('briggs_tel'); ?>
<? else: ?>
	<?php $this->render_partial('hs_tel'); ?>
# Document Type
2 tel_block CMS page block
1 Category (with defer + svg logos) CMS template