VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: ehoward on June 07, 2013, 00:37:33 AM

Title: Fatal error: Call to undefined method ShopFunctions::convertWeightUnit()
Post by: ehoward on June 07, 2013, 00:37:33 AM
Using VirtueMart 2.0.20b, Joomla 2.5.11 and PHP  5.3.23.  I'm just learning how to configure shipping and payment

I have the USPS commercial plugin installed and configured, and it is the only shipping option.  When I test from the front end and "check out now" I get the following error.

Fatal error: Call to undefined method ShopFunctions::convertWeightUnit() in public_html/plugins/vmshipment/alatak_usps/alatak_usps.php on line 751

I have searched and read for days without success, would sure appreciate an expert's help.
Title: Re: Fatal error: Call to undefined method ShopFunctions::convertWeightUnit()
Post by: ryanmccoy on June 11, 2013, 19:36:07 PM
I just setup the USPS shipping mod and get the same error when set "Shipment strategy" to "Based on Volume".   Can any one help?
Title: Re: Fatal error: Call to undefined method ShopFunctions::convertWeightUnit()
Post by: alatak on June 12, 2013, 13:22:43 PM
Hello

Yes it is a typo problem. There is an typo error in VM, : the function is called in VM convertWeigthUnit() instead of convertWeightUnit().
I have fixed it in the new version for both UPS and USPS. PLease download the latest version from your account.