Error filtering template: Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/app/code/Magefan/Blog/view/frontend/templates/sidebar/categories.phtml on line 19