Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, WP_Term given in /customers/4/4/2/martaperezphoto.com/httpd.www/wp-content/themes/outdoor/gallery-masonrylist.php:16
Stack trace:
#0 /customers/4/4/2/martaperezphoto.com/httpd.www/wp-includes/template.php(785): require()
#1 /customers/4/4/2/martaperezphoto.com/httpd.www/wp-includes/template.php(718): load_template('/customers/4/4/...', false, Array)
#2 /customers/4/4/2/martaperezphoto.com/httpd.www/wp-includes/general-template.php(204): locate_template(Array, true, false, Array)
#3 /customers/4/4/2/martaperezphoto.com/httpd.www/wp-content/themes/outdoor/taxonomy-portfolio-masonry.php(74): get_template_part('gallery', 'masonrylist')
#4 /customers/4/4/2/martaperezphoto.com/httpd.www/wp-includes/template.php(785): require('/customers/4/4/...')
#5 /customers/4/4/2/martaperezphoto.com/httpd.www/wp-includes/template.php(718): load_template('/customers/4/4/...', false, Array)
#6 /customers/4/4/2/martaperezphoto.com/httpd.www/wp-includes/general-template.php(204): locate_template(Array, true, false, Array)
#7 /customers/4/4/2/martaperezphoto.com/httpd.www/wp-content/themes/outdoor/taxonomy-portfolio_cat.php(20): get_template_part('taxonomy-portfo...', 'masonry')
#8 /customers/4/4/2/martaperezphoto.com/httpd.www/wp-includes/template-loader.php(106): include('/customers/4/4/...')
#9 /customers/4/4/2/martaperezphoto.com/httpd.www/wp-blog-header.php(19): require_once('/customers/4/4/...')
#10 /customers/4/4/2/martaperezphoto.com/httpd.www/index.php(17): require('/customers/4/4/...')
#11 {main}
thrown in /customers/4/4/2/martaperezphoto.com/httpd.www/wp-content/themes/outdoor/gallery-masonrylist.php on line 16