Hello,
I have a bug with GK_Portfolio template
0 - count(): Argument #1 ($value) must be of type Countable|array, null given
Here's the patch:
---- www/templates/gk_portfolio/html/com_content/featured/default_item.php ----
index 70bcf142..b12a6d53 100644
@@ -66,7 +66,7 @@ require_once(__DIR__ . '/../../../inc/layout.php');
<?php endif; ?>
<?php if($templateParams->get('portfolioInfo', 'tags') == 'tags') : ?>
- <?php if(count($this->item->tags->itemTags)) : ?>
+ <?php if(isset($this->item->tags->itemTags) && count($this->item->tags->itemTags)) : ?>
<?php $this->item->tagLayout = new FileLayout('joomla.content.tags'); ?>
<?php echo $this->item->tagLayout->render(array('tags' => $this->item->tags->itemTags, 'class' => 'item__info')); ?>
<?php endif; ?>
Cheers