Warning: expects parameter 2 to be long

Warning: expects parameter 2 to be long

Postby info@.....nl » Thu Apr 19, 2012 3:19 pm

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.
info@.....nl
 
Posts: 2
Joined: Thu Apr 19, 2012 3:18 pm

Re: Warning: expects parameter 2 to be long

Postby admin » Wed Apr 25, 2012 10:38 pm

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
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm


Return to One Page Checkout for Virtuemart 1.1.x

cron