Hi There,
We are using php5.3 and when we use virtuemart 2.0 we get the following errors appearing when we are viewing the products in a category view.
Warning: number_format() expects parameter 2 to be long, string given in /home/xxxxx/public_html/administrator/components/com_virtuemart/helpers/currencydisplay.php on line 450
Any ideas please?
Hi, Can anyone advise ???
Why not use VM2.0.6? For warning see http://forum.virtuemart.net/index.php?topic=102555.msg340507#msg340507
Awesome thank you, that seemed to work :)
Hi there,
I have the same problem. I use virtuemart 2.0.6 and have turned off error reporting.
But price is still no show and the following warning keeps showing:
Warning: number_format() expects parameter 2 to be long, string given in /home/xxxxxx/public_html/administrator/components/com_virtuemart/helpers/currencydisplay.php on line 338
Can any one advice?
Thanks.
Just look in the file, find the line and try $res = number_format((float)$nb,(long)$nbDecimal,$this->_decimal,$this->_thousands);