Hello,
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?
Regards
7 replies3 participantsUpdated by Olga Barlow
Hello,
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.
regards
Hello,
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?
Regards
This error is display by Error.log of the server (host)
Regards
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.
Regards
Hi,
Always,
[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
Hello,
Provide us with Dashboard and FTP access to your site to check and help you.
Regards
Hi,
i fix this :
<?php if (is_array($sb) && count($sb) > 0): ?>
instead of
<?php if (is_array($sb) && count($sb > 0)): ?>
Regards
Hello,
Sorry, seems we fixed the first part of the code with array and missed the second one. Your version is correct!
Regards
Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.
Free AI store scan · SalesMax
Paste your store address. SalesMax AI shows which upsell moments are missing. No signup.
Free AI speed test · FlashMax
Paste your site address. FlashMax runs Google Lighthouse for phone and desktop, checks Core Web Vitals and lists what to fix. No signup.
Sushi StoreFood & drinks
(live demo, opens in a new tab)
PerfumeBeauty
(live demo, opens in a new tab)
Niche Market 03Marketplace
(live demo, opens in a new tab)
Purely HandmadeHandmade & Crafts
(live demo, opens in a new tab)
Minimal ElectronicsPortfolio
(live demo, opens in a new tab)
Marseille 02Fashion
(live demo, opens in a new tab)
Fashion StoreFashion
(live demo, opens in a new tab)
Online CoursesBusiness
(live demo, opens in a new tab)
ArchitectureBusiness
(live demo, opens in a new tab)
Jewelry StoreJewellery
(live demo, opens in a new tab)
CleaningBusiness
(live demo, opens in a new tab)
Sneakers StoreSports & travel
(live demo, opens in a new tab)
Lingerie StoreFashion
(live demo, opens in a new tab)
Furniture Store 03Furniture
(live demo, opens in a new tab)
Web AgencyPortfolio
(live demo, opens in a new tab)
Animals StorePets
(live demo, opens in a new tab)