Viewing 11 reply threads
You must be logged in to reply to this topic.
Hi,
I have this problem on the news page of my site:
<b>Warning</b>: count(): Parameter must be an array or an object that implements Countable in <b>/home/clients/e284539a50152a75138fb187f3ec0e72/web/wp-content/themes/specular/includes/view/blog/loop-second-style.php</b> on line <b>49</b>
The blog style in the Specular theme is “Alternate”. If I choose “Normal”, it works fine. How can I fix this problem?
Thanks
Anne
That is not a problem but just a warning. It is caused by WP_debug
Please remove that on wp-config.php
switch from TRUE to FALSE
Thanks
Hi Ludjon,
Thank you for your answer, but it is already on FALSE…
Try to modify line 49 on that file, replace with this:
$tag_out = '';
if( $tags ){
$num=count($tags);
$i=0;
foreach($tags as $tag):
if(++$i === $num){
$tag_out .= $tag->name;
}
else {
$tag_out .= $tag->name.', ';
}
endforeach;
}
It doesn’t work.
Do you need my ftp and WordPress login?
Thank you!
Trying to login in ftp but without success, can you recheck please?
Thanks
You’re welcome, if you like our theme, please leave a rating on Themeforest. It’s important for us:
https://themeforest.net/downloads
Thank You!
You must be logged in to reply to this topic.