*

ishan

  • ****
  • 126 posts
I m facing this issue on Item-post page

Warning: count(): Parameter must be an array or an object that implements Countable in /home2/******/public_html/oc-content/themes/veronika/item-post.php on line 143

143 line is
<div class="row" <?php if(count($country) == 1) { ?>style="display:none;"<?php } ?>>

so please help me to solve this problem

Marked as best answer by frosticek on October 04, 2021, 08:17:02 PM
*

MB Themes

@ishan
I have not found such code in item-post.php
Try this code as fix:
Code: [Select]
<div class="row" <?php if(count(is_array($country) ? $country : array()) == 1) { ?>style="display:none;"<?php ?>>
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

ishan

  • ****
  • 126 posts
thank you so much..

Problem is solved.. You are great..