Warning: Missing Argument 2 for VirtueMartModelCustomfields

Please post your issues and questions about One Page Checkout for Virtuemart 2 to this forum.

Warning: Missing Argument 2 for VirtueMartModelCustomfields

Postby j.lehnhoff@.....de » Sat Jun 16, 2012 8:25 pm

Hi,

after clicking on submit button I get the following error, followed by a blank page:

Code: Select all
Warning: Missing argument 2 for VirtueMartModelCustomfields::getProductCustomFieldCart(), called in /kunden/242130_22767/rp-hosting/10431/30469/administrator/components/com_virtuemart/models/orders.php on line 778 and defined in /kunden/242130_22767/rp-hosting/10431/30469/administrator/components/com_virtuemart/models/customfields.php on line 878

Warning: Missing argument 2 for VirtueMartModelCustomfields::getProductCustomFieldCart(), called in /kunden/242130_22767/rp-hosting/10431/30469/administrator/components/com_virtuemart/models/orders.php on line 727 and defined in /kunden/242130_22767/rp-hosting/10431/30469/administrator/components/com_virtuemart/models/customfields.php on line 878


Any help would be greatly appreciated as I am a bit in trouble regarding my dead line for the project.

Thanks in advance for a hopefully successful idea and best regards,

Jan

Joomla: 1.5.26
VM: 2.0.2
OPC: 2.0.65
j.lehnhoff@.....de
 
Posts: 2
Joined: Sat Jun 16, 2012 8:21 pm

Re: Warning: Missing Argument 2 for VirtueMartModelCustomfields

Postby j.lehnhoff@.....de » Sun Jun 17, 2012 6:25 pm

Kind of solved it...

I edited the two files mentioned in the warnings (inserted product id as first parameter) and the warnings were gone. Unfortunately the screen stayed blank.

After a while I figured out that it was not OPC problem but a Virtuemart related issue. After upgrading to 2.0.6 (VM and AiO) finally everything works.
j.lehnhoff@.....de
 
Posts: 2
Joined: Sat Jun 16, 2012 8:21 pm

Re: Warning: Missing Argument 2 for VirtueMartModelCustomfields

Postby admin » Mon Jun 18, 2012 12:13 pm

Hello Jan, i am glad this is solved. In case you find any other glitches, just let us know.
Regards,
Stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm


Return to One Page Checkout for Virtuemart 2