Page 1 of 1

Problem with shipping module.

Posted: Fri Mar 25, 2016 10:10 pm
by tsvetko.krastev
Hey guys! I'm experiencing problems with the following shipping module - http://www.opencart.com/index.php?route ... arch=спиди
When I place an order and when I choose it for shipping method I get the following error:
Warning: Missing argument 2 for Cart\Currency::format(), called in C:\wamp64\www\upload\catalog\model\shipping\speedy.php on line 30 and defined in C:\wamp64\www\upload\system\library\cart\currency.php on line 24Notice: Undefined variable: currency in C:\wamp64\www\upload\system\library\cart\currency.php on line 25Notice: Undefined index: in C:\wamp64\www\upload\system\library\cart\currency.php on line 25Notice: Undefined variable: currency in C:\wamp64\www\upload\system\library\cart\currency.php on line 26Notice: Undefined index: in C:\wamp64\www\upload\system\library\cart\currency.php on line 26Notice: Undefined variable: currency in C:\wamp64\www\upload\system\library\cart\currency.php on line 27Notice: Undefined index: in C:\wamp64\www\upload\system\library\cart\currency.php on line 27Notice: Undefined variable: currency in C:\wamp64\www\upload\system\library\cart\currency.php on line 30Notice: Undefined index: in C:\wamp64\www\upload\system\library\cart\currency.php on line 30
Could anyone help me out please?

Thank you in advance!

Re: Problem with shipping module.

Posted: Fri Mar 25, 2016 11:05 pm
by Johnathan
That means you're using an extension on OpenCart 2.2 that has not be updated for 2.2 compatibility. You'll need to get the developer to add the proper code for the changes that have occurred in 2.2.

Re: Problem with shipping module.

Posted: Fri Mar 25, 2016 11:19 pm
by tsvetko.krastev
Thank you for the information! :)

Re: Problem with shipping module.

Posted: Mon May 16, 2016 1:20 am
by iMateo
tsvetko.krastev wrote:Thank you for the information! :)
If your issue still actual, please send wrong string (30th from \catalog\model\shipping\speedy.php) and I will make right.

Actually, problem with:

Old code:

Code: Select all

$this->currency->format($some_value)
Should be:

Code: Select all

$this->currency->format($some_value, $this->session->data['currency'])