Error after update from VirtueMart 3.2.4 to 3.8.8

If you are runnig Joomla 3.x and Virtuemart 3.x please post to this forum your questions or support tickets about One Page Checkout

Error after update from VirtueMart 3.2.4 to 3.8.8

Postby giordenzo » Mon Aug 02, 2021 7:08 pm

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
giordenzo
 
Posts: 5
Joined: Thu Feb 22, 2018 7:39 pm

Re: Error after update from VirtueMart 3.2.4 to 3.8.8

Postby admin » Wed Aug 04, 2021 5:42 pm

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


Return to One Page Checkout for Virtuemart 3 on Joomla 3.x

cron