June 2, 20206 yr 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....
June 3, 20206 yr 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' => []]);
June 3, 20206 yr If it works, please let us know. And ideally submit a pull request, if you find some time.
August 10, 20206 yr 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.
Create an account or sign in to comment