I submitted theme and reviewer give us a error three times.
Warning: count(): Parameter must be an array or an object that implements Countable in …/wp-includes/post-template.php on line 284
I checked my wordpress theme lots of time but i didn’t find this error in my theme.
I checked it in different PHP version with different WordPress version but no error found.
Can you tell me how this error comes.
Please suggest us a better solution because i don’t want to sumit my theme again with this issue.