SLiCK_303 Posted June 2, 2020 Posted June 2, 2020 Quote mod_fcgid: stderr: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /bayouwitchincense.com/httpdocs/cache/smarty/compile/0d/53/9d/0d539db384d4613dc8cfd341a16210045cdee174_0.file.blockwishlist_button.tpl.php on line 24 My error log file is full of this notice, any thoughts on how to fix it? Thanks in advance.... 1
0 datakick Posted June 3, 2020 Posted June 3, 2020 I filed an issue for this: https://github.com/thirtybees/blockwishlist/issues/7 Try to change line 370 - https://github.com/thirtybees/blockwishlist/blob/ba50a17bd794fec127e4690c224d13fb7359fd5b/blockwishlist.php#L370 from $this->smarty->assign(['wishlist_products' => false, 'wishlists' => false]); to $this->smarty->assign(['wishlist_products' => false, 'wishlists' => []]); 2
0 datakick Posted June 3, 2020 Posted June 3, 2020 If it works, please let us know. And ideally submit a pull request, if you find some time.
0 Guido Buldrighini Posted August 10, 2020 Posted August 10, 2020 Hi, I also had the same problem and in addition to the error notifications I had a page display problem for some categories, not all but only some randomly. With this fix now everything works again. Thanks so much. 1
Question
SLiCK_303
My error log file is full of this notice, any thoughts on how to fix it?
Thanks in advance....
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now