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! 🙂
If you need services beyond standard support, we've got your back!
If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.
We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.
More complex styling changes, theme option modifications, and third-party integrations.
If you need something that's not included in the theme, we can code it for you.
Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.
Full website builds, custom theme development, or plugin creation from scratch.
We'll provide a clear quote based on what you need. No hidden fees.