Page 1 of 1

Warning: expects parameter 2 to be long

PostPosted: Thu Apr 19, 2012 3:19 pm
by info@.....nl
Hello,

I just bought one page checkout for virtuemart 1.1.
I installed it but now i have many warnings on my checkout page

Warning: round() expects parameter 2 to be long, string given in /public/sites/www.canvas-fotos.nl/administrator/components/com_onepage/vm_files/ps_checkout_ext.php on line 1584

Warning: round() expects parameter 2 to be long, string given in /public/sites/www.canvas-fotos.nl/administrator/components/com_virtuemart/html/basket.php on line 417

Warning: round() expects parameter 2 to be long, string given in /public/sites/www.canvas-fotos.nl/administrator/components/com_onepage/vm_files/ps_checkout_ext.php on line 1584

Warning: round() expects parameter 2 to be long, string given in /public/sites/www.canvas-fotos.nl/administrator/components/com_onepage/vm_files/ps_checkout_ext.php on line 1705

Warning: round() expects parameter 2 to be long, string given in /public/sites/www.canvas-fotos.nl/administrator/components/com_onepage/vm_files/ps_checkout_ext.php on line 2147

Warning: round() expects parameter 2 to be long, string given in /public/sites/www.canvas-fotos.nl/administrator/components/com_onepage/vm_files/ps_checkout_ext.php on line 2316

Warning: round() expects parameter 2 to be long, string given in /public/sites/www.canvas-fotos.nl/administrator/components/com_onepage/vm_files/ps_checkout_ext.php on line 1435

Warning: round() expects parameter 2 to be long, string given in /public/sites/www.canvas-fotos.nl/administrator/components/com_onepage/vm_files/ps_checkout_ext.php on line 1494

Warning: round() expects parameter 2 to be long, string given in /public/sites/www.canvas-fotos.nl/administrator/components/com_onepage/vm_files/ps_checkout_ext.php on line 1495

Warning: round() expects parameter 2 to be long, string given in /public/sites/www.canvas-fotos.nl/administrator/components/com_onepage/vm_files/ps_checkout_ext.php on line 1496

Warning: round() expects parameter 2 to be long, string given in /public/sites/www.canvas-fotos.nl/administrator/components/com_onepage/vm_files/ps_checkout_ext.php on line 1501

Warning: round() expects parameter 2 to be long, string given in /public/sites/www.canvas-fotos.nl/administrator/components/com_onepage/vm_files/ps_checkout_ext.php on line 1502

Etc. Etc. Etc.

Can somebody help me?

Thanks.

Re: Warning: expects parameter 2 to be long

PostPosted: Wed Apr 25, 2012 10:38 pm
by admin
Hello, this is fixed in the latest version. I am sorry for this bug - it only appears on php 5.3 and causes 0 prices on php 5.2.
Best Regards,
Stan