An error occurs on the page customer/main/product.tpl when a customer visits a subcategory with only one product.
In this instance the following error appears:
Code:
Warning: rand(): Invalid range: 0..-1 in /home/virtual/site210/fst/var/www/html/shop/customer/recommends.php on line 59
Warning: rand(): Invalid range: 0..-1 in /home/virtual/site210/fst/var/www/html/shop/customer/recommends.php on line 62
Any idea how to fix this ?