Slogan LiveZilla Live Help

Warning: Missing argument 2 for vmGet()

Sometimes in your Virtuemart backend, while adding your shipping rates, you get a PHP error,

Warning: Missing argument 2 for vmGet(), called in .../administrator/components/com_virtuemart/classes/ps_shipping.php on line 138 and defined in .../administrator/components/com_virtuemart/classes/request.class.php on line 26

 

 

Go to: administrator/components/com_virtuemart/classes/ps_shipping.php change the WRONG line 113 and 138 ($fields = array( 'shipping_carrier_name' => vmGet($d["shipping_carrier_name"]),) with this line: $fields = array( 'shipping_carrier_name' => vmGet($d, 'shipping_carrier_name'), And the Shipping list will be OK...

Comments

avatar Mike
0
 
 
Thank you
Name *
Email (For verification & Replies)
URL
Code   
Submit Comment
Cancel
avatar wsh
0
 
 
Thanks, helped me out too! ;)
Name *
Email (For verification & Replies)
URL
Code   
Submit Comment
Cancel
avatar kyle
0
 
 
never worked... still get the same comment.
Name *
Email (For verification & Replies)
URL
Code   
Submit Comment
Cancel
avatar kyle
0
 
 
excuse my idiotic reply... i never changed 138, just 113.

thanks for the post.
Name *
Email (For verification & Replies)
URL
Code   
Submit Comment
Cancel
avatar princessfiona
0
 
 
Awesome. Thanks. Great help!
Name *
Email (For verification & Replies)
URL
Code   
Submit Comment
Cancel
Name *
Email (For verification & Replies)
URL
Code   
Submit Comment
button_logo_portfolio
button_quote
button_testimonials

Subscribe Tutorials

Enter your email address:

Paypal Donation

Enter Amount:

Subscribe Joomla Tutorials Newsletter

Name:

Email:


Enter your email address: