I install joomla template on my localhost using wampserver but after that I got a lot of errors on the hol template as you can see on the image. the errors ae from deffernt lines and defferent files on the template and I will add all the lines here and and the code if anyone can see where is the problem I am not good with this.
line 276 here is at line 3: error: Notice: Undefined variable: sj_mar in C:\wamp\www\joomla\templates*****\html\com_k2\templates*****\item.php on line 276
<div class="itemFullText">
<?php echo $this->item->fulltext; ?>
<?php echo base64_decode($sj_mar); ?>
<?php if($this->item->params->get('itemDateModified') && intval($this->item->modified)!=0): ?>
<!-- Item date modified -->
<span class="itemDateModified">
<?php echo JText::_('K2_LAST_MODIFIED_ON'); ?> <?php echo JHTML::_('date', $this->item->modified, JText::_('TEMPLATE_DATE_DEFAULT')); ?>
</span>
<?php endif; ?>
</div>
line 73 here it is at line 3: error: Notice: Undefined variable: item in C:\wamp\www\joomla\templates\xxxx\html\xxxxxx\business.php on line 73
<div class="item-info">
<span class="item-date">
<i class="fa fa-clock-o"></i><?php echo JHTML::_('date', $item->created, JText::_('TEMPLATE_DATE_DEFAULT')); ?>
</span>
<span class="item-comments">
<?php if(!empty($item->event->K2CommentsCounter)): ?>
<!-- K2 Plugins: K2CommentsCounter -->
<?php echo $item->event->K2CommentsCounter; ?>
<?php else: ?>
<?php if($item->numOfComments>0): ?>
<a class="moduleItemComments" href="<?php echo $item_first->link.'#itemCommentsAnchor'; ?>">
<i class="fa fa-comments-o"></i> <?php echo $item->numOfComments; ?> <?php if($item->numOfComments>1) echo JText::_('K2_COMMENTS'); else echo JText::_('K2_COMMENT'); ?>
</a>
<?php else: ?>
<a class="moduleItemComments" href="<?php echo $item_first->link.'#itemCommentsAnchor'; ?>">
<i class="fa fa-comments-o"></i> <?php echo JText::_('TEMPLATE_THE_FIRST_TO_COMMENT'); ?>
</a>
<?php endif; ?>
<?php endif; ?>
</span>
</div>
line 130 here is at line 10: error: Notice: Undefined property: stdClass::$numOfComments in C:\wamp\www\joomla\templates*****\html*****\trending.php on line 130
<div class="item-info">
<span class="item-date">
<i class="fa fa-clock-o"></i> <?php echo JHTML::_('date', $item->created, JText::_('TEMPLATE_DATE_DEFAULT')); ?>
</span>
<span class="item-comments">
<?php if(!empty($item->event->K2CommentsCounter)): ?>
<!-- K2 Plugins: K2CommentsCounter -->
<?php echo $item->event->K2CommentsCounter; ?>
<?php else: ?>
<?php if($item->numOfComments>0): ?>
<a class="moduleItemComments" href="<?php echo $item->link.'#itemCommentsAnchor'; ?>">
<i class="fa fa-comments-o"></i> <?php echo $item->numOfComments; ?> <?php if($item->numOfComments>1) echo JText::_('K2_COMMENTS'); else echo JText::_('K2_COMMENT'); ?>
</a>
<?php else: ?>
<a class="moduleItemComments" href="<?php echo $item->link.'#itemCommentsAnchor'; ?>">
<i class="fa fa-comments-o"></i> <?php echo JText::_('TEMPLATE_THE_FIRST_TO_COMMENT'); ?>
</a>
<?php endif; ?>
<?php endif; ?>
</span>
</div>
line 83 here again the same as the error 130 line 10 error: ( ! ) Notice: Undefined variable: item in C:\wamp\www\joomla\templates*****\html******\world.php on line 83
<div class="item-info">
<span class="item-date">
<i class="fa fa-clock-o"></i> <?php echo JHTML::_('date', $item->created, JText::_('TEMPLATE_DATE_DEFAULT')); ?>
</span>
<span class="item-comments">
<?php if(!empty($item->event->K2CommentsCounter)): ?>
<!-- K2 Plugins: K2CommentsCounter -->
<?php echo $item->event->K2CommentsCounter; ?>
<?php else: ?>
<?php if($item->numOfComments>0): ?>
<a class="moduleItemComments" href="<?php echo $item_first->link.'#itemCommentsAnchor'; ?>">
<i class="fa fa-comments-o"></i> <?php echo $item->numOfComments; ?> <?php if($item->numOfComments>1) echo JText::_('K2_COMMENTS'); else echo JText::_('K2_COMMENT'); ?>
</a>
<?php else: ?>
<a class="moduleItemComments" href="<?php echo $item_first->link.'#itemCommentsAnchor'; ?>">
<i class="fa fa-comments-o"></i> <?php echo JText::_('TEMPLATE_THE_FIRST_TO_COMMENT'); ?>
</a>
<?php endif; ?>
<?php endif; ?>
</span>
</div>