Home › Forums › Jevelin Theme › fatal error count()
Home › Forums › Jevelin Theme › fatal error count()
Hello, I’m getting this error on all the pages that block to load visual composer editor and some pages blocks
AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/vhosts/sunmedia.ai/httpdocs/wp-content/themes/jevelin/content-format-gallery.php:215\nStack trace:\n#0 /var/www/vhosts/sunmedia.ai/httpdocs/wp-includes/template.php(772): require()\n#1 /var/www/vhosts/sunmedia.ai/httpdocs/wp-includes/template.php(716): load_template()\n#2 /var/www/vhosts/sunmedia.ai/httpdocs/wp-includes/general-template.php(204): locate_template()\n#3 /var/www/vhosts/sunmedia.ai/httpdocs/wp-content/themes/jevelin/framework-customizations/extensions/shortcodes/shortcodes/blog-posts/views/view.php(237): get_template_part()\n#4 /var/www/vhosts/sunmedia.ai/httpdocs/wp-content/themes/jevelin/inc/elements/legacy/blog-posts.php(318): include('...')\n#5 /var/www/vhosts/sunmedia.ai/httpdocs/wp-includes/shortcodes.php(356): vcj_blog_posts->_html()\n#6 [internal function]: do_shortcode_tag()\n#7 /var/www/vhosts/sunmedia.ai/httpdocs/wp-includes/shortcodes.php(228): preg_repl...'
Hi there,
Sorry for our late response.
Do you have the latest theme version installed? Also which PHP version are you using?
Best regards,
Shufflehound team
Yes, I had the last theme version
php 8.0.16
Looks like we found the issue.
Please try our latest beta version below and let us know if that fixes it.
Please login to access this file
thanks, that worked
We are glad that it worked! 🙂