Jump to content
thirty bees forum
  • 0

blockwishlist error


SLiCK_303

Question

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....

  • Like 1
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

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' => []]);

 

  • Like 2
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...