Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, WP_Query given in /home/921270.cloudwaysapps.com/xntjxggamf/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/av-helper-masonry.php:362
Stack trace:
#0 /home/921270.cloudwaysapps.com/xntjxggamf/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_gallery.php(450): avia_masonry->html()
#1 /home/921270.cloudwaysapps.com/xntjxggamf/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php(313): avia_sc_masonry_gallery->shortcode_handler()
#2 /home/921270.cloudwaysapps.com/xntjxggamf/public_html/wp-includes/shortcodes.php(393): aviaShortcodeTemplate->shortcode_handler_prepare()
#3 [internal function]: do_shortcode_tag()
#4 /home/921270.cloudwaysapps.com/xntjxggamf/public_html/wp-includes/shortcodes.php(265): preg_replace_callback()
#5 /home/921270.cloudwaysapps.com/xntjxggamf/public_html/wp-includes/class-wp-hook.php(308): do_shortcode()
#6 /home/921270.cloudwaysapps.com/xntjxggamf/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#7 /home/921270.cloudwaysapps.com/xntjxggamf/public_html/wp-content/themes/enfold/template-builder.php(43): apply_filters()
#8 /home/921270.cloudwaysapps.com/xntjxggamf/public_html/wp-includes/template-loader.php(106): include('/home/921270.cl...')
#9 /home/921270.cloudwaysapps.com/xntjxggamf/public_html/wp-blog-header.php(19): require_once('/home/921270.cl...')
#10 /home/921270.cloudwaysapps.com/xntjxggamf/public_html/index.php(17): require('/home/921270.cl...')
#11 {main}
thrown in
/home/921270.cloudwaysapps.com/xntjxggamf/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/av-helper-masonry.php on line
362