Just you know :
[15-Apr-2019 12:24:32 UTC] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /wp-content/themes/legenda/framework/widgets.php on line 307
Please fix this in the next update.
regardsTheme version: 220.127.116.11 WooCommerce version: 3.5.7
We can’t reproduce this warning on our test installations. Could you, please, provide link to your site, temporary Dashboard and FTP access and tell me your actions when you get this warning?
This error is display by Error.log of the server (host)
Please change code of widgets.php file – https://prnt.sc/ncrha4 and check the log then.
Let us know the result.
If you need further assistance, provide temporary wp-admin and FTP access, so we can take a closer look.
[03-Jun-2019 08:02:13 UTC] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/clients/nico313/prod/aplustemp/wp-content/themes/legenda/framework/widgets.php on line 307
Provide us with Dashboard and FTP access to your site to check and help you.
i fix this :
<?php if (is_array($sb) && count($sb) > 0): ?>
<?php if (is_array($sb) && count($sb > 0)): ?>
Sorry, seems we fixed the first part of the code with array and missed the second one. Your version is correct!
You must be logged in to reply to this topic.Log in/Sign up
One standard license is valid only for 1 project. Running multiple projects on a single license is a copyright violation.
The message was successfully sent
Your shopping cart is empty