Page 1 of 1

Error after update from VirtueMart 3.2.4 to 3.8.8

PostPosted: Mon Aug 02, 2021 7:08 pm
by giordenzo
Hello after update i will receive
error
0 - Too few arguments to function VirtueMartModelState::testStateCountry(), 2 passed in /home/pi3tc0ia/iphonerestore.it/mgutensilisrl/components/com_onepage/overrides/cart_override.php on line 2442 and exactly 3 expected

the component works perfectly until I push the confirm order button.


PHP Versione 7.3
Joomla Version 3.9.27
OPC2.0.357.150218
Thanks
Regards Enzo

Re: Error after update from VirtueMart 3.2.4 to 3.8.8

PostPosted: Wed Aug 04, 2021 5:42 pm
by admin
hello, your OPC version is of February 2018 while your Virtuemart version is of 2021 which is 3 years difference. Please update your OPC to the latest version which supports VM3.8.8 and later.

i checked the code now and it's not being used on the latest version. The function signature in VM had been changed on 7. June 2018 which then produced a fatal error in OPC of Feb 2018.

best regards, stan